Battery detection in Xfce4
#1
Sat, 2014-12-13 12:05
teachop
-
- Offline
- 3 years 3 months ago
- 2014-12-13
In the Xfce4 desktop on my AMD laptop, the battery is not detected in the panel and I need help solving this. Xfce Power Manager is running. The ac is the only power source detected (Adapter is online). I have tried 3.1 and edge as well.
However my battery is seen by acpi (BAT0) according to dmesg. I can print out the status and information with:
$ sudo cat /sys/class/power_supply/BAT0/uevent POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Full POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CYCLE_COUNT=0 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000 POWER_SUPPLY_VOLTAGE_NOW=12505000 POWER_SUPPLY_CURRENT_NOW=0 POWER_SUPPLY_CHARGE_FULL_DESIGN=4094000 POWER_SUPPLY_CHARGE_FULL=4094000 POWER_SUPPLY_CHARGE_NOW=4094000 POWER_SUPPLY_CAPACITY=100 POWER_SUPPLY_MODEL_NAME=Primary POWER_SUPPLY_MANUFACTURER=Hewlett-Packard POWER_SUPPLY_SERIAL_NUMBER=39831 05/21/2011
Probably not related but the panel also lists the account as "Linux User" instead of using the proper login name.