I alwais have a not charging icon in the top bar. This is the output of upower -d when laptop is plugged in:
Device: /org/freedesktop/UPower/devices/line_power_AC0
native-path: AC0
power supply: yes
updated: mar 16 nov 2021 20:44:16 (90 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: ASUSTeK
model: ASUS Battery
power supply: yes
updated: mar 16 nov 2021 20:44:16 (90 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: pending-charge
warning-level: none
energy: 57,252 Wh
energy-empty: 0 Wh
energy-full: 58,741 Wh
energy-full-design: 66 Wh
energy-rate: 0 W
voltage: 15,677 V
percentage: 97%
capacity: 89,0015%
technology: lithium-ion
icon-name: 'battery-full-charging-symbolic'
History (charge):
1637091856 0,000 unknown
History (rate):
1637091856 0,000 unknown
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: mar 16 nov 2021 20:44:16 (90 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: pending-charge
warning-level: none
energy: 57,252 Wh
energy-full: 58,741 Wh
energy-rate: 0 W
percentage: 97%
icon-name: 'battery-full-charging-symbolic'
Daemon:
daemon-version: 0.99.11
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
Meanwhile the laptop seems is not discharging, always on 97%