Bug 23601

Summary: Add battery information to Mageia Control Center - Hardware section
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: Normal CC: andrewsfarm, davidwhodgins, marja11, perl, python, tarazed25, wilcal.int, yvesbrungard
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://upower.freedesktop.org/
Whiteboard:
Source RPM: CVE:
Status comment:

Description Morgan Leijström 2018-09-22 16:53:00 CEST
Description of problem:

The state and wear of the battery is often a question for laptop owners.

Fresh from qa-discuss this hour:

"

>    upower -i /org/freedesktop/UPower/devices/battery_BAT0
>
> should give you some information.

On my laptop, it's BAT1 instead of BAT0. Use "upower -d" to see all devices.
Compare the energy-full with the energy-design, and capacity.

  "

IMO it would be enough if it calls "upower -d" to see what battery/ies there are (some have more than one), and list the output from upower -i /org/freedesktop/UPower/devices/battery_BAT for the batteries found.
Comment 1 Len Lawrence 2018-09-22 17:33:02 CEST
That would be a facility in harddrake2 or the like, available from MCC.

CC: (none) => tarazed25

William Kenney 2018-09-22 17:55:05 CEST

CC: (none) => wilcal.int

papoteur 2018-09-22 17:56:21 CEST

CC: (none) => yves.brungard_mageia

Marja Van Waes 2018-09-24 08:11:44 CEST

CC: (none) => marja11, perl, python
Assignee: bugsquad => mageiatools

Comment 2 Thomas Andrews 2018-09-26 20:52:16 CEST
This came up in a thread I started in qa-discuss. I had questions about the health of the battery in my HP Probook. HP provides software to check it, but it's for Windows 7 and up. I was looking for something that would work with Mageia.

CC: (none) => andrewsfarm

Comment 3 Morgan Leijström 2018-09-26 21:27:12 CEST
https://upower.freedesktop.org/
https://en.wikipedia.org/wiki/UPower

URL: (none) => https://upower.freedesktop.org/

Comment 4 papoteur 2018-09-26 22:05:26 CEST
Hello,
Is there already similar application, perhaps specific to one desktop environment?
Comment 5 Dave Hodgins 2018-09-27 00:18:49 CEST
ptbatterysystemtray does show that my battery is at 100% and only has
33% of it's capacity left. Not as much detail as shown by upower -d, but
it has the important loss of capacity shown. None of the other gui battery
info applets or applications I've checked show this loss of capacity.

CC: (none) => davidwhodgins

Comment 6 Morgan Leijström 2018-09-27 06:20:55 CEST
From wikipedia link in comment 3: " UPower was initially introduced and established as a standard in GNOME.[6] In January 2011 the desktop environment Xfce followed (version 4.8). "

I remember KDE4 battery applet showed a popup and warned when battery capacity was low, "broken", and asked user to get a replacement. I could not find a way to use it to check how good a half-good battery was.