[Pkg-utopia-maintainers] Bug#1149208: upower: I've connected power but it still shows "Not charging"
rarehutu at tuta.io
rarehutu at tuta.io
Thu Oct 8 13:59:38 BST 2026
rarehutu at debian:~$ cat /sys/class/power_supply/BAT0/voltage_now
11400000
rarehutu at debian:~$ cat /sys/class/power_supply/BAT0/current_now
cat: /sys/class/power_supply/BAT0/current_now: 没有那个文件或目录
rarehutu at debian:~$ cat /sys/class/power_supply/BAT0/status
Not charging
没有那个文件或目录 means No such file or directory
--
2026/10/8 19:12 来自 biebl at debian.org:
> [please always CC the bug report when replying]
>
>
> Am 07.10.26 um 07:42 schrieb rarehutu at tuta.io:
>
>> *Now the power is connected and battery level is 82%*
>> Device: /org/freedesktop/UPower/devices/battery_BAT0
>> native-path: BAT0
>> vendor: Amd Battery
>> model: Li-ion Real Battery
>> serial: 123456789
>> power supply: yes
>> updated: 2026年10月07日 星期三 13时31分06秒 (14 seconds ago)
>> has history: yes
>> has statistics: yes
>> battery
>> present: yes
>> rechargeable: yes
>> state: pending-charge
>> warning-level: none
>> energy: 51.414 Wh
>> energy-empty: 0 Wh
>> energy-full: 62.7 Wh
>> energy-full-design: 62.7 Wh
>> energy-rate: 0 W
>>
>
>
> upower is a just a very small layer atop the kernel.
>
> Please run
>
> cat /sys/class/power_supply/BAT0/voltage_now
> and
> cat /sys/class/power_supply/BAT0/current_now
>
> when the battery is charging and report back with the values.
>
>
>> voltage: 11.4 V
>> charge-cycles: N/A
>> percentage: 82%
>> capacity: 100%
>> technology: lithium-ion
>> icon-name: 'battery-full-charging-symbolic'
>> History (rate):
>> 1791351061 0.000 pending-charge
>> 1791351060 17.100 pending-charge
>> 1791351032 6.327 pending-charge
>>
>> Device: /org/freedesktop/UPower/devices/line_power_ACAD
>> native-path: ACAD
>> power supply: yes
>> updated: 2026年10月07日 星期三 13时31分01秒 (19 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/DisplayDevice
>> power supply: yes
>> updated: 2026年10月07日 星期三 13时31分01秒 (19 seconds ago)
>> has history: no
>> has statistics: no
>> battery
>> present: yes
>> state: pending-charge
>> warning-level: none
>> energy: 51.414 Wh
>> energy-full: 62.7 Wh
>> energy-rate: 0 W
>> charge-cycles: N/A
>> percentage: 82%
>> icon-name: 'battery-full-charging-symbolic'
>>
>> Daemon:
>> daemon-version: 1.90.9
>> on-battery: no
>> lid-is-closed: no
>> lid-is-present: yes
>> critical-action: HybridSleep
>>
>> --
>>
>>
>> 2026/10/6 23:30 来自 biebl at debian.org:
>>
>> It appears you are fully charged (100%).
>>
>> It's normal that it shows "not charging" in this case.
>>
>> Am 06.10.26 um 16:41 schrieb rarehutu at tuta.io:
>>
>> *When I’ve not connected power, but battery level is 100%*
>> Device: /org/freedesktop/UPower/devices/battery_BAT0
>> native-path: BAT0
>> vendor: Amd Battery
>> model: Li-ion Real Battery
>> serial: 123456789
>> power supply: yes
>> updated: 2026年10月06日 星期二 22时31分57秒 (0
>> seconds ago)
>> has history: yes
>> has statistics: yes
>> battery
>> present: yes
>> rechargeable: yes
>> state: fully-charged
>> warning-level: none
>> energy: 62.7 Wh
>> energy-empty: 0 Wh
>> energy-full: 62.7 Wh
>> energy-full-design: 62.7 Wh
>> energy-rate: 0 W
>> voltage: 11.4 V
>> charge-cycles: N/A
>> percentage: 100%
>> capacity: 100%
>> technology: lithium-ion
>> icon-name: 'battery-full-charged-symbolic'
>> History (rate):
>> 1791297114 0.000 fully-charged
>> 1791297113 5.700 fully-charged
>>
>> Device: /org/freedesktop/UPower/devices/line_power_ACAD
>> native-path: ACAD
>> power supply: yes
>> updated: 2026年10月06日 星期二 22时31分54秒 (3
>> seconds ago)
>> has history: no
>> has statistics: no
>> line-power
>> warning-level: none
>> online: no
>> icon-name: 'ac-adapter-symbolic'
>>
>> Device: /org/freedesktop/UPower/devices/DisplayDevice
>> power supply: yes
>> updated: 2026年10月06日 星期二 22时31分54秒 (3
>> seconds ago)
>> has history: no
>> has statistics: no
>> battery
>> present: yes
>> state: fully-charged
>> warning-level: none
>> energy: 62.7 Wh
>> energy-full: 62.7 Wh
>> energy-rate: 0 W
>> charge-cycles: N/A
>> percentage: 100%
>> icon-name: 'battery-full-charged-symbolic'
>>
>> Daemon:
>> daemon-version: 1.90.9
>> on-battery: no
>> lid-is-closed: no
>> lid-is-present: yes
>> critical-action: HybridSleep
>>
>> *When I connected power*
>>
>> Device: /org/freedesktop/UPower/devices/battery_BAT0
>> native-path: BAT0
>> vendor: Amd Battery
>> model: Li-ion Real Battery
>> serial: 123456789
>> power supply: yes
>> updated: 2026年10月06日 星期二 22时39分03秒 (8
>> seconds ago)
>> has history: yes
>> has statistics: yes
>> battery
>> present: yes
>> rechargeable: yes
>> state: fully-charged
>> warning-level: none
>> energy: 62.7 Wh
>> energy-empty: 0 Wh
>> energy-full: 62.7 Wh
>> energy-full-design: 62.7 Wh
>> energy-rate: 8.527 W
>> voltage: 11.4 V
>> charge-cycles: N/A
>> time to empty: 7.4 hours
>> percentage: 100%
>> capacity: 100%
>> technology: lithium-ion
>> icon-name: 'battery-full-charged-symbolic'
>>
>> Device: /org/freedesktop/UPower/devices/line_power_ACAD
>> native-path: ACAD
>> power supply: yes
>> updated: 2026年10月06日 星期二 22时32分58秒 (373
>> 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/DisplayDevice
>>
>>
>> --
>>
>> 2026/10/5 22:05 来自 biebl at debian.org:
>>
>> Control: tags -1 + moreinfo
>>
>> On Mon, 28 Sep 2026 18:23:19 +0800 Rarehutu <rarehutu at tuta.io>
>> wrote:
>>
>> Package: upower
>> Version: 1.90.9-1
>> Severity: important
>> X-Debbugs-Cc: rarehutu at tuta.io
>>
>> Dear Maintainer,
>>
>> *** Reporter, please consider answering these questions, where
>> appropriate ***
>>
>> It shows "Not charging" in Settings/Power, but I've connected
>> power and Bettery
>> Level is increasing.
>>
>> What's the output of "upower --dump" in this case?
>>
>>
>> Michael
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20261008/05f01e80/attachment-0001.htm>
More information about the Pkg-utopia-maintainers
mailing list