You are not logged in.
My laptop - Dell Latitude E6410 - has a pretty useful feature under Fn+F2 that disables battery charging when on AC adapter. That helps to elongate the battery life. That feature generally works fine, but the xfce4-power-manager (power-manager-plugin etc.) still says "Charging" under the panel icon. So it's confusing, I don't know when the feature is on or off.
Is it possible to somehow force it to show something like "Plugged-in, not charging"? It would make my life a little bit easier. Any hints? Or maybe there is some kind of a terminal command that can show me that?
I'm on Xubuntu 18.04, xfce4-power-manager 1.6.1
Offline
The power manager will report what upower generates. For example, on my system I get a "Fully Charged" notification/icon/tooltip and "upower -d" reports:
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: innotek
model: 1
serial: 0
power supply: yes
updated: Thu 21 Jun 2018 10:02:53 AM EDT (88 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
warning-level: none
energy: 50 Wh
energy-empty: 0 Wh
energy-full: 50 Wh
energy-full-design: 50 Wh
energy-rate: 0 W
voltage: 10 V
percentage: 100%
capacity: 100%
icon-name: 'battery-full-charged-symbolic'
So if upower isn't showing a "fully charged" status, xfce4-power-manager won't display it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
ToZ, thanks for a reply, upower returns "state: charging" in both cases, so I guess it doesn't support that particular feature (plugged-in with a battery present, but not charging). But... I've just noticed that I was blind before - I have a battery LED on my laptop, and it's not on when I enable that Fn+F2 option, and it lights up again when I disable it (showing that the battery is charging now), so that's what I wanted.
Too bad I can't get that read out on my panel icon too (always "Charging"). Do you think it's worth mentioning somewhere on the "bugzilla" as a feature enhancement? If yes, where should I submit it?
Offline
If upower always returns charging, then the problem is either with upower or your system/battery. I would look closer at the system first (bios options) to see why it is always in a charging state. Otherwise, I think a bug report with upower may be the way to go.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 534.63 KiB (Peak: 535.48 KiB) ]