Battery use graph...?
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Battery use graph...?
Hi all!
I have MX Linux on my little HP Stream laptop, but I have Linux Mint MATE on my larger Lenovo Thinkpad T520.
On Mint, the battery / power manager app has a handy graph that shows the battery discharge over time. It's a handy tool in checking once and awhile to ascertain how healthy my battery is.
Just curious - is there a similar app or utility I could install on MX to get a similar function?
Cheers and thanks! :)
I have MX Linux on my little HP Stream laptop, but I have Linux Mint MATE on my larger Lenovo Thinkpad T520.
On Mint, the battery / power manager app has a handy graph that shows the battery discharge over time. It's a handy tool in checking once and awhile to ascertain how healthy my battery is.
Just curious - is there a similar app or utility I could install on MX to get a similar function?
Cheers and thanks! :)
Re: Battery use graph...?
RallyDarkstrike wrote: Thu Apr 04, 2024 10:15 am Hi all!
I have MX Linux on my little HP Stream laptop, but I have Linux Mint MATE on my larger Lenovo Thinkpad T520.
On Mint, the battery / power manager app has a handy graph that shows the battery discharge over time. It's a handy tool in checking once and awhile to ascertain how healthy my battery is.
Just curious - is there a similar app or utility I could install on MX to get a similar function?
Cheers and thanks! :)
I know of several conky's that can do that. Open your Conky Manager and look at the MX-Cowon* conky's.
You do not have the required permissions to view the files attached to this post.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Re: Battery use graph...?
@siamhie Hey, thanks for the reply, but that's not what I am looking for. :)
My current custom Conky config has a similar battery gauge (top-right) to the one you showed: What I am looking for is a discharge graph-type thing:

My current custom Conky config has a similar battery gauge (top-right) to the one you showed: What I am looking for is a discharge graph-type thing:

You do not have the required permissions to view the files attached to this post.
Re: Battery use graph...?
No QSI, but Xfce MX-21.3, I have two available.
1 - Power Manager → General – System tray icon (not using this one)
2 - Power Manager Plugin – external in
Per MXPI: https://docs.xfce.org/xfce/xfce4-power-manager/start
Per app – Help: https://docs.xfce.org/xfce/xfce4-power- ... /1.6/start
But not sure how/why it is dispalyed.
++EDIT - It is definitely not a graph, just an icon or something that indicates the charge at that moment.
1 - Power Manager → General – System tray icon (not using this one)
2 - Power Manager Plugin – external in
Per MXPI: https://docs.xfce.org/xfce/xfce4-power-manager/start
Per app – Help: https://docs.xfce.org/xfce/xfce4-power- ... /1.6/start
But not sure how/why it is dispalyed.
++EDIT - It is definitely not a graph, just an icon or something that indicates the charge at that moment.
Last edited by MXRobo on Wed Apr 10, 2024 12:21 am, edited 1 time in total.
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Re: Battery use graph...?
OK, cool, thanks - I'll take a look!MXRobo wrote: Thu Apr 04, 2024 2:47 pm No QSI, but Xfce MX-21.3, I have two available.
1 - Power Manager → General – System tray icon (not using this one)
2 - Power Manager Plugin – external in
Per MXPI: https://docs.xfce.org/xfce/xfce4-power-manager/start
Per app – Help: https://docs.xfce.org/xfce/xfce4-power- ... /1.6/start
But not sure how/why it is dispalyed.
Re: Battery use graph...?
What software shows the graph on Mint? Maybe you could install it in MX..?
Re: Battery use graph...?
As for overall battery "health", QSI shows the battery condition:
Though it seems that some Conky guru could easily create a Python script to create a battery usage graph.
Code: Select all
Battery:
ID-1: BAT1 charge: 51.5 Wh (100.0%) condition: 51.5/56.0 Wh (91.9%) volts: 11.2 min: 11.4
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
Re: Battery use graph...?
Stevo wrote: Fri Apr 12, 2024 3:25 pm As for overall battery "health", QSI shows the battery condition:
Though it seems that some Conky guru could easily create a Python script to create a battery usage graph.Code: Select all
Battery: ID-1: BAT1 charge: 51.5 Wh (100.0%) condition: 51.5/56.0 Wh (91.9%) volts: 11.2 min: 11.4
If you edit the battery line in conky (under the conky.text section) you can have a graph. i.e. battery_bar
Here are the examples from Casey's Conky Reference with Examples page. (http://ifxgroup.net/conky.htm) (Laptop Battery Information section)
Code: Select all
battery
Battery status and remaining percentage capacity of ACPI or APM battery. ACPI battery number can be given as argument
and points to "/proc/acpi/battery/BAT0/state".
Default is battery "BAT0".
${battery BAT1}
Code: Select all
battery_bar
[height][,width] [battery_number]
Battery percentage remaining of ACPI battery in a bar. ACPI battery number can be given as argument.
Default is battery "BAT0".
${battery_bar 10,20 BAT1}
Code: Select all
battery_percent
Battery percentage remaining for ACPI battery. ACPI battery number can be given as argument.
Default is battery "BAT0".
${battery_percent BAT1}
Code: Select all
battery_short
Battery status and remaining percentage capacity of ACPI or APM battery. ACPI battery number can be given as
argument.
Default is battery "BAT0".
This mode display a short status, which means that C is displayed for charging,
D for discharging, F for full, N for not present, E for empty and U for unknown.
${battery_short BAT1}
Code: Select all
battery_time
Battery charge/discharge time remaining of ACPI battery. ACPI battery number can be given as argument.
Default is battery "BAT0".
${battery_time BAT1}
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: Battery use graph...?
Please, the OP wants an XY graph, not a single axis bar, showing the power use versus time, just as in the picture they supplied. I suppose the wattage could be calculated from the drop in battery level over that interval.
I have a realtime CPU wattage display on my KDE taskbar, for this laptop right now, it's showing 53.5 as it compiles a couple kernels at once for MX 21 AHS. A desktop CPU should show a lot more.
I have a realtime CPU wattage display on my KDE taskbar, for this laptop right now, it's showing 53.5 as it compiles a couple kernels at once for MX 21 AHS. A desktop CPU should show a lot more.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Re: Battery use graph...?
Sorry for the slow reply folks - Yes, the idea is that I would love to have a graph of battery discharge over time. @appas As far as I can tell, the software that I use to see the discharge graph on Mint (as I use Mint MATE) is the MATE Power Manager...? So I don't think it could be easily installed on MX as it is part of MATE.
@siamhie Thanks for the suggestions, but that is not what I am looking for.
@Steve Yes, that is what I am looking for. It has come in very handy on my old Lenovo Thinkpad T520 running the latest Mint MATE several times. My little HP Stream 11 that is running MX XFCE doesn't have such a graph and where the battery in this little HP lasts a lot longer than the Lenovo due to a much lower-power CPU, it would be nice to have a graph here as well :)
@siamhie Thanks for the suggestions, but that is not what I am looking for.
@Steve Yes, that is what I am looking for. It has come in very handy on my old Lenovo Thinkpad T520 running the latest Mint MATE several times. My little HP Stream 11 that is running MX XFCE doesn't have such a graph and where the battery in this little HP lasts a lot longer than the Lenovo due to a much lower-power CPU, it would be nice to have a graph here as well :)