Battery status delay is too long
Hello,
I'm using Arch Linux with Xfce and everything is up to date. I use a chromebook Acer CB3-131.
When I remove my power cable, the change is effective instantly. When I insert it, it takes almost two minutes to xfce4-power-manager to display that it's charging and showing the charging icon, even though the charging led is on.
I think this delay is too long but I'm unsure if it's an issue with xfce4-power-manager or upower. If it's an issue with the latter, I'll report the problem on their issue page. But I'm also wondering if the sync could be forced by xfce4-power-manager.
This is the result of upower -i /org/freedesktop/UPower/devices/battery_BAT0 when it's discharging:
native-path: BAT0
vendor: SANYO
model: AC15A3J
serial: 16BA
power supply: yes
updated: sam. 10 avril 2021 13:31:00 (45 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 18,8265 Wh
energy-empty: 0 Wh
energy-full: 30,5728 Wh
energy-full-design: 40,3095 Wh
energy-rate: 2,29845 W
voltage: 12,342 V
time to empty: 8,2 hours
percentage: 61%
capacity: 75,8453%
technology: lithium-ion
icon-name: 'battery-full-symbolic'
History (charge):
1618054256 61,000 discharging
History (rate):
1618054260 2,298 discharging
1618054256 12,682 discharging
And this is the result when it's charging:
native-path: BAT0
vendor: SANYO
model: AC15A3J
serial: 16BA
power supply: yes
updated: sam. 10 avril 2021 13:33:01 (2 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 19,2423 Wh
energy-empty: 0 Wh
energy-full: 30,5728 Wh
energy-full-design: 40,3095 Wh
energy-rate: 11,8041 W
voltage: 12,872 V
time to full: 57,6 minutes
percentage: 62%
capacity: 75,8453%
technology: lithium-ion
icon-name: 'battery-full-charging-symbolic'
History (charge):
1618054381 62,000 charging
History (rate):
1618054381 11,804 charging
If you need more info, let me know.
Thanks.