How To determine The Manufacturer of a Laptop Battery In Linux

With all the recent news about laptop batteries suddenly exploding, it might be a good idea to determine the
manufacturer and model number of the battery that’s currently connected to your laptop.
A simple file, included with the 2.6 kernel that runs on Red Hat Enterprise Linux 4, can easily show this information
on any laptop running with ACPI enabled:

cat /proc/acpi/battery/BAT0/info

Look for the “model number” and “OEM info” fields.

0 comments:

Post a Comment

Sponsers