Upower shows "battery charging", when it is actually not. I use tlp and have a threshold configured. AC is connected and the battery is around 50% charged and idle. "tlp-stat -b" shows: --- TLP 0.9 -------------------------------------------- +++ ThinkPad Extended Battery Functions tp-smapi = active tpacpi-bat = inactive (unsupported hardware) +++ ThinkPad Battery Status: BAT0 (Main / Internal) /sys/devices/platform/smapi/BAT0/manufacturer = SANYO /sys/devices/platform/smapi/BAT0/model = 45N1170 /sys/devices/platform/smapi/BAT0/manufacture_date = 2013-04-12 /sys/devices/platform/smapi/BAT0/first_use_date = 2016-04-08 /sys/devices/platform/smapi/BAT0/cycle_count = 4 /sys/devices/platform/smapi/BAT0/design_capacity = 93960 [mWh] /sys/devices/platform/smapi/BAT0/last_full_capacity = 97030 [mWh] /sys/devices/platform/smapi/BAT0/remaining_capacity = 55080 [mWh] /sys/devices/platform/smapi/BAT0/remaining_percent = 57 [%] /sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min] /sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min] /sys/devices/platform/smapi/BAT0/power_now = 0 [mW] /sys/devices/platform/smapi/BAT0/power_avg = 0 [mW] /sys/devices/platform/smapi/BAT0/state = idle /sys/devices/platform/smapi/BAT0/start_charge_thresh = 45 [%] /sys/devices/platform/smapi/BAT0/stop_charge_thresh = 55 [%] /sys/devices/platform/smapi/BAT0/force_discharge = 0 Charge = 56.8 [%] Capacity = 103.3 [%] "upower -d" shows: Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: Mi 02 Nov 2016 14:43:51 CET (3479 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SANYO model: 45N1170 serial: 463 power supply: yes updated: Mi 02 Nov 2016 15:39:55 CET (115 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 55,08 Wh energy-empty: 0 Wh energy-full: 97,03 Wh energy-full-design: 93,96 Wh energy-rate: 0 W voltage: 11,357 V percentage: 56% capacity: 100% technology: lithium-ion icon-name: 'battery-good-charging-symbolic' Device: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Fx0002 native-path: /sys/devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.1/0003:046D:C52F.0002 vendor: Logitech, Inc. model: M280/320/275 serial: 103DDB68 power supply: no updated: Mi 02 Nov 2016 15:39:52 CET (118 seconds ago) has history: yes has statistics: no mouse present: yes rechargeable: yes state: unknown warning-level: none percentage: 0% icon-name: 'battery-missing-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Mi 02 Nov 2016 15:03:55 CET (2275 seconds ago) has history: no has statistics: no battery present: yes state: charging warning-level: none energy: 55,08 Wh energy-full: 97,03 Wh "upower --version" UPower client version 0.99.5 UPower daemon version 0.99.5
I'm having the same issue after manually setting charging thresholds with tpacpi-bat. /proc/acpi shows the correct status, though: $ cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charged present rate: 0 mW remaining capacity: 23110 mWh present voltage: 11268 mV $ upower -d Device: /org/freedesktop/UPower/devices/line_power_ADP1 native-path: ADP1 power supply: yes updated: Di 07 Mär 2017 12:09:16 CET (60 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: LGC model: 45N1005 serial: 34022 power supply: yes updated: Di 07 Mär 2017 12:09:20 CET (56 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 23,11 Wh energy-empty: 0 Wh energy-full: 39,2 Wh energy-full-design: 56,16 Wh energy-rate: 0 W voltage: 11,268 V percentage: 58% capacity: 69,8006% technology: lithium-ion icon-name: 'battery-good-charging-symbolic' History (charge): 1488884957 58,000 charging 1488884956 0,000 unknown History (rate): 1488884956 0,000 unknown Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Di 07 Mär 2017 12:09:16 CET (60 seconds ago) has history: no has statistics: no battery present: yes state: charging warning-level: none energy: 23,11 Wh energy-full: 39,2 Wh energy-rate: 0 W percentage: 58% icon-name: 'battery-good-charging-symbolic' Daemon: daemon-version: 0.99.4 on-battery: no lid-is-closed: no lid-is-present: yes critical-action: (null) $ upower --version UPower client version 0.99.4 UPower daemon version 0.99.4
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/upower/upower/issues/13.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.