You are not logged in.

#1 2017-04-23 08:23:54

tmoney
Member
Registered: 2016-06-01
Posts: 7

Showing multiple battery icons in system tray?

I am using a thinkpad x220 with a conventional battery and a slice battery as well. The system tray only displays one battery, corresponding to the conventional battery. How can I get another battery icon for the slice battery as well?

Offline

#2 2017-04-23 08:49:58

j3rzu
Member
From: Slough, UK
Registered: 2017-04-10
Posts: 23

Re: Showing multiple battery icons in system tray?

Try THIS.

Maybe it helps! Good luck!


UNIT: HP PAVILION 15 (2014)
SPEC: INTEL CORE i5-4288U CPU @ 2.60GHz // 8 GB RAM // INTEL HD4400 // HDD 1,5TB
SYSTEM: BunsenLabs 8.7 (Hydrogen)
..:: THERE ARE NO IMPOSSIBLE THINGS - THERE ARE ONLY PEOPLE WHO CAN'T DO SOMETHING ::..

Offline

#3 2017-04-23 09:11:50

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Showing multiple battery icons in system tray?

a) that would be xfce power manager? or maybe a separate app is being used, as i remember there were problems witht he xfce4-powermanager tray icon. have a look in ~/.config/openbox/autostart which app is in use, and read it's documentation. probably it's possible to just start another instance of that app.

b) tint2 has its own battery plugin, it can be used more than once and is configurable.

please explore these avenues and tell us how it goes.

Offline

#4 2017-04-23 10:38:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Re: Showing multiple battery icons in system tray?

ohnonot wrote:

that would be xfce power manager?

The stock system uses fdpowermon because the jessie xfce4-power-manager doesn't display a systray icon.

@OP: you can try the backported xfce4-power-manager version, this is available as an option in the `bl-welcome` script.

If that doesn't do what you want and tint2 won't display a second battery (as ohnonot suggests), please post the output of:

acpi -v

Are you sure that two battery icons are supposed to be displayed?

The device only draws from one at a time so to display both seems superfluous.

Offline

#5 2017-04-23 18:05:25

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 417
Website

Re: Showing multiple battery icons in system tray?

A few years ago I wrote a python script to show multiple icons, but I've stopped maintaining it since I don't need it anymore. If you're willing to hack it in case it has issues, you can try it.

It needs the python-gtk2 package.

Last edited by o9000 (2017-04-23 18:07:06)

Offline

Board footer

Powered by FluxBB