Eugene V. Lyubimkin wrote:
Thanks for reporting! Could you tell me what you have in
/sys/class/power_supply? laptop mode tools currently checks for the
contents of the file /sys/class/power_supply/AC/online, but perhaps your
AC adapter is named differently or something like that?
- ---
~$ ls -R /sys/class/power_supply/
/sys/class/power_supply/:
ACAD  BAT1

/sys/class/power_supply/ACAD:
device  online  power  subsystem  type  uevent

/sys/class/power_supply/ACAD/power:
wakeup

/sys/class/power_supply/BAT1:
alarm        charge_full_design  current_now  manufacturer  power
serial_number  subsystem   type    voltage_min_design
charge_full  charge_now          device       model_name    present
status         technology  uevent  voltage_now

/sys/class/power_supply/BAT1/power:
wakeup
- ---
It's replaced by ACAD, as I see :)

OK, I'll have to do some extra work to find out which power supplies are AC power supplies. Will be fixed in the next upload!

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to