[EMAIL PROTECTED] wrote: Hi,
>> Can you try to turn energy_* into charge_* in the code and see if that >> works and gives the proper values ? > > It takes a few minutes once the AC is unplugged for it to reach the > "real" value, but otherwise it works fine. IIRC, the previous versions > has the same issue, so the change to "charge_*" seems to work. Yup, typical wmacpi behaviour. Converges very slowly sometimes. Thanks for the testing! > Looking at Documentation/power_supply_class.txt, it seems some systems > may have neither energy_* nor charge_*, but only "capacity" which ranges > from 0 to 100. Sounds like fun. Yeah, right, sounds like a broken API. I hate it already. I'll try to fix that up :) JB. -- Julien BLACHE <[EMAIL PROTECTED]> | Debian, because code matters more Debian & GNU/Linux Developer | <http://www.debian.org> Public key available on <http://www.jblache.org> - KeyID: F5D6 5169 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]