Thread: conky
View Single Post
  #7   (View Single Post)  
Old 18th January 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

How does conky determine the battery usage? does this system use apm(4) or acpi(4)? do you use apmd(8)? what's the output of apm?

If you're using ACPI, look in your dmesg and see if acpibat* attaches.. if so, the sysctl members hw.sensors.acpibat0.* should exist.

It's difficult to get battery usage information portability across operating systems, but with a little scripting you can probably pull something off that can display battery usage.
Reply With Quote