I've upgraded to kernel 4.0.0-rc3 and found minor bug: battery plugin doesn't show full battery charge. After that I built plugin from GIT tree with --enable-debug=full and it seems that plugin gets wrong values from ACPI/APM: DBG[battery.c:321] update_apm_status(): Updating battery status... DBG:sysfs AC dir->/sys/class/power_supply/AC0 DBG:------------------------ DBG:battery number 0 at: DBG:sysfs dir->/sys/class/power_supply/BAT0 DBG:------------------------ DBG:sysfs AC dir->/sys/class/power_supply/test_ac DBG:------------------------ DBG:battery number 1 at: DBG:sysfs dir->/sys/class/power_supply/test_battery DBG:------------------------ DBG[battery.c:456] update_apm_status(): method=1, acline=1, time_remaining=0, charge=99 DBG[battery.c:321] update_apm_status(): Updating battery status... DBG[battery.c:456] update_apm_status(): method=1, acline=1, time_remaining=0, charge=99 DBG[battery.c:321] update_apm_status(): Updating battery status... DBG[battery.c:456] update_apm_status(): method=1, acline=1, time_remaining=0, charge=99 At the same time, console tools works fine: user@host /home/user $ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: ODM model: MT50II serial: 00001 power supply: yes updated: Tue Mar 10 23:15:13 2015 (1826 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged energy: 29.16 Wh energy-empty: 0 Wh energy-full: 29.16 Wh energy-full-design: 47.52 Wh energy-rate: 0 W voltage: 12.549 V percentage: 100% capacity: 61.3636% technology: lithium-ion History (charge): 1508348808 33.000 discharging 1508348688 34.000 discharging 1508348563 35.000 discharging History (rate): 1508348808 12.506 unknown 1508348778 12.841 discharging 1508348637 13.192 discharging That can I do to help you fix this?
F**K, I am very sorry! It seems to be kernel misconfiguration on my side!