Results 1 to 4 of 4
I have an HP Compaq nc4010 laptop, with Debian experimental installed on it.
In the BIOS utility, I can view what they refer to as "battery information".
Unfortunately, it's all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-01-2010 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
HP Compaq nc4010 BIOS Battery Information
I have an HP Compaq nc4010 laptop, with Debian experimental installed on it.
In the BIOS utility, I can view what they refer to as "battery information".
Unfortunately, it's all horribly abbreviated, so I can only guess what the labels mean.
Is there any way I can acces this same information from linux, preferably with full labels and/or descriptions?
I shall also add a sample of the information in case anybody is familiar with it.
Code:C1 3600 C2 -54 C3 0 ME 2 CC 235 T 26 TV 9894 C -2141 DV 11100 MN SIMPLO (or maybe zero, not too sure) CV1 0 CV2 3261 CV3 3323 CV4 3305 S BDO
- 08-02-2010 #2
Battery info in primarily in /proc/acpi/battery
You can get a lot of info by doing
Note that the battery name may be different, or if you have more than one battery, there could be multiple entries, such as BAT1, BAT2, etc.Code:cat /proc/acpi/battery/BAT0/info cat /proc/acpi/battery/BAT0/state
Also, you might be interested in the program powertop.
- 08-05-2010 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
Thanks for your reply, reed9, but I do not have a battery folder in /proc/acpi. And yes, I'm checking it as root.
Code:# ls /proc/acpi button embedded_controller fan power_resource sleep video dsdt fadt info thermal_zone wakeup
- 08-05-2010 #4
Hmm.
Try looking is /sys/class/power_supply/BAT* instead.


Reply With Quote
