linuxmint / linuxmint/cinnamon
Power management applet - showing wrong power status
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
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:

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'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the case using the reported acpi and upower commands, then trace the Cinnamon power applet's handling of an online AC adapter alongside a discharging battery. The fix is done when plugged-in-but-not-charging status has distinct wording and a distinct tray icon instead of appearing as battery-only operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100