Ken Bloom <[EMAIL PROTECTED]> wrote:

Hi,

> Please update wmacpi to work with the /sys/class/power_supply
> interface.

I have wmacpi working with the power_supply class, however, currently
it needs the battery inserted in the machine to start.

Because, interestingly, when the battery is not present,
/sys/class/power_supply/BATn doesn't exist. Nevermind
/sys/class/power_supply/BATn/present ...

Stupid API of the day award goes to the power_supply class.

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