KDE: [HowTo] Battery remaining time

Post your tutorials and howtos here.
User avatar
palimmo
Posts: 802
Joined: 19 Nov 2013 19:44
Contact:

KDE: [HowTo] Battery remaining time

Postby palimmo » 20 Jul 2014 09:48

Taken here: http://chakraos.org/forum/viewtopic.php?id=11294

1. Open ~/.kde4/share/config/plasma-desktop-appletsrc
2. Find 'plugin=battery'
3. Check the [containments] above line. Should be something like:

Code: Select all

[Containments][3][Applets][6][Configuration][Applets][60]
* your numbers will change.

In my case, it looked like this:

Code: Select all

[Containments][18][Applets][23][Configuration][Applets][28]
geometry=0,0,24,24
immutability=1
plugin=battery
zvalue=0

[Containments][18][Applets][23][Configuration][Applets][28][PopupApplet]
DialogHeight=207
DialogWidth=300

[Containments][18][Applets][23][Configuration][Applets][28][Shortcuts]
global=
I just added two lines with correct numbers after zvalue=0:

Code: Select all

[Containments][18][Applets][23][Configuration][Applets][28][Configuration][General]
showRemainingTime=true
After that, you can just restart the shell with two simple steps:

1: Run this from terminal:

Code: Select all

kquitapp plasma-desktop
2: Press Alt+F2 and run:

Code: Select all

plasma-desktop
et voilà!
You can find remaining time clicking on the battery at the top of the dropdown-list.
It gives info about time to full charge during charging as well.
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests