[Bug 270123] Re: Wrong battery status

Hans-Dominik 270123 at bugs.launchpad.net
Wed Oct 6 08:28:39 UTC 2010


with or without the script i get this results

if AC_Adaptor is pluged

root at laptop:/etc/acpi# hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present
true

if AC_Adaptor unpluged

root at hdm-laptop:/etc/acpi# hal-get-property --udi `hal-find-by-capability --capability ac_adapter` --key ac_adapter.present
false

-

to get script working i hafe to change

AC_state=/proc/acpi/ac_adapter/AC/state
to 
AC_state=/proc/acpi/ac_adapter/ADP1/state

-- 
Wrong battery status
https://bugs.launchpad.net/bugs/270123
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list