dating steuben glass - Laptop battery icon not updating

UPDATE: The issue actually came back after my fix, but re-running: For me the issue got fixed after uninstalling any gnome-related software.

All I had to do was to follow that tutorial: How to revert unity and remove gnome desktop?

When the issue occurs, with your AC charger plugged in you will notice that the battery is not charging, and hovering over the battery icon in the system tray shows "plugged in, not charging".

laptop battery icon not updating-74

if at start it was 100% it is still like that till the battery dies. Update: tried the following command with no effect # upower -d Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: 30 أكت, 2014 EET م (1949 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: SMP model: DELL MKD6223 serial: 2093 power supply: yes updated: 30 أكت, 2014 EET م (29 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging warning-level: none energy: 18.4704 Wh energy-empty: 0 Wh energy-full: 33.2667 Wh energy-full-design: 62.16 Wh energy-rate: 20.0355 W voltage: 12.404 V time to full: 44.3 minutes percentage: 55% capacity: 53.5179% technology: lithium-ion icon-name: 'battery-good-charging-symbolic' History (charge): 1414698330 55.000 charging Device: /org/freedesktop/UPower/devices/Display Device power supply: yes updated: 01 ينا, 1970 EET ص (1414698359 seconds ago) has history: no has statistics: no battery present: yes state: charging warning-level: none energy: 18.4704 Wh energy-full: 33.2667 Wh energy-rate: 20.0355 W time to full: 44.3 minutes percentage: 55% icon-name: 'battery-good-charging-symbolic' Daemon: daemon-version: 0.99.1 on-battery: no lid-is-closed: no lid-is-present: yes critical-action: Power Off It's really disappointing to seek the help for a problem then even there is no reply, but also down voting for a problem affects my work.

However I will leave the workaround in case some one else had the same issue: The issue is in the GUI.

Other than those cases I don't mind the update time. [.411] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.9157 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 6.6933 W voltage: 12.562 V time to empty: 7.6 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1485928546 6.693 discharging 1485928537 10.856 discharging 1485928517 6.083 discharging 1485928504 10.423 discharging 1485928485 6.149 discharging 1485928466 21.190 discharging 1485928463 6.371 discharging 1485928449 7.071 discharging [.414] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.9157 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 6.6933 W voltage: 12.562 V time to empty: 7.6 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1485928546 6.693 discharging 1485928537 10.856 discharging 1485928517 6.083 discharging 1485928504 10.423 discharging 1485928485 6.149 discharging 1485928466 21.190 discharging 1485928463 6.371 discharging 1485928449 7.071 discharging [.417] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.9157 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 6.6933 W voltage: 12.562 V time to empty: 7.6 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1485928546 6.693 discharging 1485928537 10.856 discharging 1485928517 6.083 discharging 1485928504 10.423 discharging 1485928485 6.149 discharging 1485928466 21.190 discharging 1485928463 6.371 discharging 1485928449 7.071 discharging [.419] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.9157 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 6.6933 W voltage: 12.562 V time to empty: 7.6 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (rate): 1485928546 6.693 discharging 1485928537 10.856 discharging 1485928517 6.083 discharging 1485928504 10.423 discharging 1485928485 6.149 discharging 1485928466 21.190 discharging 1485928463 6.371 discharging 1485928449 7.071 discharging [.422] device changed: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Wed AM EST (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' [.422] device changed: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Wed AM EST (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' [.422] daemon changed: daemon-version: 0.99.4 on-battery: no lid-is-closed: no lid-is-present: yes critical-action: Hybrid Sleep Monitoring activity from the power daemon. [.752] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.765] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.773] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.781] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.789] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.797] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.803] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.809] device changed: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: PANASONIC model: AS16B5J serial: 2217 power supply: yes updated: Wed AM EST (0 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 50.838 Wh energy-empty: 0 Wh energy-full: 55.6554 Wh energy-full-design: 62.16 Wh energy-rate: 10.8669 W voltage: 12.656 V time to empty: 4.7 hours percentage: 91% capacity: 89.5357% technology: lithium-ion icon-name: 'battery-full-symbolic' History (charge): 1485928697 91.000 discharging 1485928672 0.000 unknown History (rate): 1485928697 10.867 discharging 1485928672 0.000 unknown [.811] device changed: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Wed AM EST (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' [.811] device changed: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Wed AM EST (0 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' [.811] daemon changed: daemon-version: 0.99.4 on-battery: yes lid-is-closed: no lid-is-present: yes critical-action: Hybrid Sleep While working on one of previous projects, I discovered that the power indicator on Unity indeed has apparently event-driven delay for updating, and it stems form UPower daemon, which is what the indicator seems to use to obtain power information.

Curiously, when I unplug my charger, the icon updates immediately. This gets in the way of custom scripts that try to monitor battery usage via UPower daemon with certain amount of precision.

It freezes, so killing it every 10 minutes will force it to update, so I made a cron job to do that: After I fully restarted, the indicator seemed to work without issue, no need for the cron job!

Last modified 03-Feb-2020 11:25