Cinnamon: Power management applet - showing wrong power status

Created on 26 Feb 2017  ·  10Comments  ·  Source: linuxmint/cinnamon

Using Cinnamon 3.2.7 (with Mint 18.1) on Asus UX410UAK laptop. This laptop will not charge the battery until its level drops below a given threshold.

When the device is plugged in but not charging the battery, the power applet shows "Using battery power" status and the same icon as if the laptop was running on battery. It should be something like "On AC power (not charging)" with a distinct tray icon.

Screen capture of the displayed status:

battery_applet_wrong_status

Commands showing the actual power status (AC adapter online):

mint@mint` ~ $ acpi -a -b -i
Battery 0: Discharging, 96%, discharging at zero rate - will never fully discharge.
Battery 0: design capacity 4240 mAh, last full capacity 4123 mAh = 97%
Adapter 0: on-line
mint@mint ~ $ upower -i /org/freedesktop/UPower/devices/line_power_AC0
  native-path:          AC0
  power supply:         yes
  updated:              Sun 26 Feb 2017 01:21:35 PM UTC (1708 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes
    icon-name:          'ac-adapter-symbolic'

mint@mint ~ $ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               ASUSTeK
  model:                ASUS Battery
  power supply:         yes
  updated:              Sun 26 Feb 2017 01:49:35 PM UTC (29 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              45.531 Wh
    energy-empty:        0 Wh
    energy-full:         47.013 Wh
    energy-full-design:  48.336 Wh
    energy-rate:         0 W
    voltage:             11.4 V
    percentage:          96%
    capacity:            97.2629%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
BUG

All 10 comments

Similar result from my Asus GL702VM running Cinnamon 3.2.7 on Linux Mint 18.1.

user@GL702VM ~ $ uname -a
Linux GL702VM 4.8.0-44-generic #47~16.04.1-Ubuntu SMP Wed Mar 22 18:51:56
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
user@GL702VM ~ $ acpi -a -b -i
Battery 0: Discharging, 96%, discharging at zero rate - will never fully discharge.
Battery 0: design capacity 5000 mAh, last full capacity 4776 mAh = 95%
Adapter 0: on-line

I am having this issue as well on Arch Linux, Cinnamon 3.2.8 . Since OP is using Mint, this is not a distro-specific issue. Also using an ASUS laptop.

Bug reported in Arch here

Same issue here, ASUS Q504UA running Cinnamon 3.2.7 & Mint 18.1.

Same issue. Asus G551JW running Linux Mint 18.2 with xfce

Same issue here, Asus ROG GL502-DS71 with Linux Mint 18.2 Cinnamon, Kernel 4.8.0-58-generic. Does it seem strange that these are all Asus laptops ?

Hello,

I am having the same problem on an Asus TP300. Upower and ACPI show the correct values. The user reports that previously the battery indicator functioned correctly.

Restarting the upower service however, does seem to update the battery indicator to the correct value, for the particular value given.

I am willing to troubleshoot this further, if anyone can provide some guidance on what to examine.

Kernel:

# ... SNIP ...  4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

upower :


# apt list upower
Listing... Done
upower/xenial-updates,now 0.99.4-2ubuntu0.3 amd64 [installed,automatic]
N: There is 1 additional version. Please use the '-a' switch to see it
# apt list cinnamon
Listing... Done
cinnamon/xenial,now 2.8.6-1ubuntu1 amd64 [installed]

As a workaround I have placed a cron job that restarts the upower service every few minutes, to force the battery to update at those points in time. Its a hack, but it seems to "solve" the issue until a real solution is available

same issue for asus x55v mint 18.1

Facing same problem in ASUS X556UQ
Does anyone have a answer ?
Opera Browser decreased framerate to save power because it thinks my laptop is on battery power :smile:

Same issue with Asus -R542uQ. On ubuntu , Solus , Arch . On DE's like Gnome ,Xfce, Cinnamon, Mate .
It keeps on displaying estimating

Same issue is here. Cinnamon Power Management Applet is stuck on certain status and doesn't update, I'm using ($ acpi -a -b -i) to get the correct results. I've noticed that this issue is only appears if I'm using the hibernate feature and for long time (several day or weeks without shutdown or restart). Also removing and adding the applet will make it update it only once and it will stuck again, this applies if you added the remaining time or percentage.

My Environment:
Linux Mint 19.1 Cinnamon
Cinnamon 4.0.9
Kernel 4.15.0-43-generic
Lenovo B490
Intel© Core™ i7-3630QM CPU @ 2.40GHz × 4
16 GB Memory
Intel Corporation 3rd Gen Core processor Graphics Controller

Was this page helpful?
0 / 5 - 0 ratings