[EMAIL PROTECTED] wrote:

Hi,

> wmacpi fails to give any battery data on my system (2.6.24.2 from
> kernel.org, also tested on 2.6.24.1). This seems to be due to the fact
> that wmacpi attempts to access BAT1/energy_*, while these values are not
> available on my laptop.
>
> $ ls /sys/class/power_supply/BAT1
> alarm               current_now   power      technology          voltage_now
> charge_full         device        present    type
> charge_full_design  manufacturer  status     uevent
> charge_now          model_name    subsystem  voltage_min_design

Right, looks like it's charge_* for you.

Can you try to turn energy_* into charge_* in the code and see if that
works and gives the proper values ?

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer - <[EMAIL PROTECTED]> 
 
 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]

Reply via email to