-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (10) .- Knowledge Base  . 

Battery Time Remaining

   0.4  

Plasmoid Binary

Score 80%
Battery Time Remaining
zoom


Battery Time Remaining
zoom


Battery Time Remaining
zoom


Depends on  KDE 4.x
Downloads:  1360
Submitted:  Apr 25 2010
Updated:  Oct 5 2012

Description:

This project is discontinued. Please do not use this. Use the default plasmoid from KDE.

There will be no more updates.


Battery Remaining Time Display Widget

Update: works with kde SC 4.5


1. By default it \"constantly\" displays the \"Battery time remaining\" in HH : MM (when discharging).

2. Alternatively, you can change it to per cent remaining in \"Settings\".

3. When AC-adaptor is connected it displays the \"Time required to reach full charge\".

4. Complete integration with \"Power management - Power Devil\"


REQUIREMENTS:
A recent KDE SC 4.5 or above for version 0.4

(if you have 4.4 or lower then use version 0.3)

If you have kubuntu then issue:
sudo apt-get build-dep kdeplasma-addons
For a list of dependencies for other distros see Depends packages:
http://packages.ubuntu.com/karmic/kdeplasma-addons

INSTALL:
tar jxvf
cd plasma-??????
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
make
make install
(or you may need sudo make install)

USING:
1. Logout of KDE SC and then login again.
2. Add Widgets -> \"Remaining Time\"

FAQ:
If you have problems please check that you can _read_ permission for the two files:
`kde4-config --prefix`/lib/kde4/plasma_applet_remainingtime.so
`kde4-config --prefix`/share/kde4/services/plasma-remainingtime.desktop

After inserting the AC-adaptor the widget takes approx.10 sec to update.
This is because
$> plasmaengineexplorer --engine powermanagement

takes sometime to update. (can someone help me and send a patch).

If you have strange \"time remaining values\" please check the directory:
/proc/acpi/battery/BAT{0,1}
Contact your distro or laptop manufacturer. Some batteries report strange values: See for example:
https://bugzilla.redhat.com/show_bug.cgi?id=439460
https://bugs.launchpad.net/bugs/460631


UNINSTALL:
Delete the two files:
`kde4-config --prefix`/lib/kde4/plasma_applet_remainingtime.so
`kde4-config --prefix`/share/kde4/services/plasma-remainingtime.desktop
and logout and login again

CREDITS:
(Whereas Battery Plasmoid with Remaining Time shows the time only on mouse hover my plasmoid shows "Data" constantly.)
http://kde-look.org/content/show.php?content=120309




Changelog:

Monochrome icons: There is now space between the time and icons in the new monochrome icons kde 4.5 SC for Lucid.

0.4: works with kde 4.5

0.3 Fixed the paint colour font problem.

0.2: Change line 59: in file batterytime.cpp

from: Separator
to : KSeparator

0.1: initial version

Can anyone help me with translations.




LicenseGPL
Source(kde 4.5 plasma-batterytime-monochrome-0.4.tar.gz)
Source(plasma-batterytime-0.1.tar.bz2)
Source(plasma-batterytime-0.2.tar.bz2)
Source(Lucid: plasma-batterytime-monochrome-0.2.tar.gz)
Source(kde 4.4 plasma-batterytime-monochrome-0.3.tar.gz)
Send to a friend
Subscribe
Other  Artwork  from biophysics
Report inappropriate content



goto page: prev   1  2 

-
.

 Can't make :(

 
 by ffaxel on: Aug 17 2010
 
Score 50%

Hey! I'm trying to build your .4 version. I have built your .3 version with no problem, but building this one gives me this (cmake went all right):
Scanning dependencies of target plasma_applet_batterytime
[ 50%] Building CXX object CMakeFiles/plasma_applet_batterytime.dir/plasma_applet_batterytime_automoc.o
[ 75%] Building CXX object CMakeFiles/plasma_applet_batterytime.dir/batterytime.o
/home/axel/Downloads/Plasmoids/plasma-batterytime-monochrome-0.4/batterytime.cpp: In function ‘Plasma::IconWidget* createButton(QGraphicsWidget*)’:
/home/axel/Downloads/Plasmoids/plasma-batterytime-monochrome-0.4/batterytime.cpp:457: error: ‘class Plasma::IconWidget’ has no member named ‘setPreferredIconSize’
make[2]: *** [CMakeFiles/plasma_applet_batterytime.dir/batterytime.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_batterytime.dir/all] Error 2
make: *** [all] Error 2

Any ideas?

Thanks!
Axel


Reply to this

-

 Re: Can't make :(

 
 by biophysics on: Aug 17 2010
 
Score 50%

Check what version of KDE you are having?

Try in a terminal

$ kde4-config -v
Qt: 4.7.0
KDE Development Platform: 4.5.00 (KDE 4.5.0)

Or look in Konqueror -> Help -> About Kde

Which version is it?
for plasmoid-0.4 you need kde4.5

If you have old version of kde then use 0.3


Reply to this

-

 Re: Re: Can't make :(

 
 by ffaxel on: Aug 17 2010
 
Score 50%

Damn! I have 4.4.5. Sorry I was SURE I had 4.5 xD

Anyways, thanks :)


Reply to this

-

 Re: Re: Can't make :(

 
 by gerstavros on: Oct 4 2012
 
Score 50%

Hi. I have 4.9.1 and i have the same problem


Reply to this

-

 plasma crash

 
 by dglent on: Aug 18 2010
 
Score 50%

i cant make it work, when i added in plasma, plasma crashs.
I have Mandriva 2010.1 kde 4.5 and i installed the version 0.4

Another question is if it will be possible to replace the default battery plasmoid in the system tray (integrated in system tray)


Reply to this

-

 Re: plasma crash

 
 by biophysics on: Aug 25 2010
 
Score 50%

>>i cant make it work, when i added in >>plasma, plasma crashs.
>>I have Mandriva 2010.1 kde 4.5 and i >>installed the version 0.4

Can you logout or better reboot.

$ kde4-config -v
Qt: 4.7.0
KDE Development Platform: 4.5.00 (KDE 4.5.0)

Does it compile?

>>Another question is if it will be >>possible to replace the default battery

Right-click on system tray and select Systemtray settings. you can select the new plasmoid there.


Reply to this

-

 Re: Re: plasma crash

 
 by dglent on: Aug 26 2010
 
Score 50%

the output of kde4-config is qt 4.7 kde 4.5
the compile finish without any problem


Reply to this

-
.

 Fork of a Fork?

 
 by sebas on: Dec 30 2010
 
Score 50%

So this applet is a fork of a fork of the battery applet?

The obvious problem I see here is: How do you keep up with bugfixes from upstream?

While having a quick look at the package, I see that you have removed me as the author of the applet, while you more or less just renamed it. I think that's less than polite.

The original applet already supports showing the remaining time. I've explained how to enable it in a blog entry: http://vizzzion.org/blog/2009/11/battery-improvements-in-kde-plasma-4-4/

It's also possible to add the remaining time using the 'desktop console'.

The reason why we don't explain it by default is that the time given is unreliable and changes based on how your computer is used. We did add it as a hidden feature, though.


-- sebas
Plasma Developer

Reply to this

-

 Re: Fork of a Fork?

 
 by biophysics on: Dec 30 2010
 
Score 50%

>Fork of a Fork?
>So this applet is a fork of a fork of >the battery
>applet?

I created this to have the monochrome icons. No hidden agenda.

>The obvious problem I see here is: How >do you keep
>up with bugfixes from upstream?

I just made it for some my laptop at that time to have monochrome icons and time remaining. Since the upstream has monochrome may be nobody needs this plasmoid.


>While having a quick look at the >package, I see
>that you have removed me as the author
>of the
>applet, while you more or less just >renamed it. I
>think that's less than polite.

The reason I removed it was not because I am selfish but I did not want anyone to file bug report to you and annoy you. I am being polite. I can now add a big statement that you are original author of this applet :-) if you need the more publicity!

>The original applet already supports >showing the
>remaining time. I've explained how to >enable it in
>a blog entry:
http://vizzzion.org/blog/2009/11/battery-improvements-in-kde-plasma-4-4/

I did see that. (BTW I read planetkde, planetubuntu, dot.kde everyday) But remember not every one reads your blog. I made this applet to show the time remaining directly - normal users do not want to edit config files!


>It's also possible to add the >remaining time using
>the 'desktop console'.
>The reason why we don't explain it by >default is
>that the time given is unreliable and >changes
>based on how your computer is used. We >did add it
>as a hidden feature, though.

It works in my laptop so I wanted to help others that may use it. Is this a problem for you?

There are many things in KDE -SC that do not work depending on the computer but it is OK and acceptable. Life is like that!

Since you have admin privileges please delete the project if you think it does bad for KDE SC.

Again, I am not looking for money or so from the author name. Perhaps do you mean that I should not have published it after making changes?


Reply to this

-
.

 Re: Re: Fork of a Fork?

 
 by sebas on: Dec 30 2010
 
Score 50%

Neither am I looking for money or publicity. It just struck me that I find some code on the Net which I've written, and where my name is removed from the Author's credits, and not even named anywhere else. I'm not out for publicity, you should just credit people where credit is due.

Neither is there a clear statement where this code comes from, or that the problem your applet tries to solve can easily be solved by editing the Battery's config file.

BTW, I don't have admin privileges, and wouldn't use them either just to make my point.

Feel free to maintain this package though, but please, if you publish it, also incorporate any bugfixes we make upstream to your copy. As far as I can see, you're quite a bit behind on those.


-- sebas
Reply to this

-
.

 Re: Re: Re: Fork of a Fork?

 
 by sebas on: Dec 30 2010
 
Score 50%

Ow, and for your users, it would probably be a good idea to also state how the same can be achieved by editing the config file.

You see, compiling code is not always trivial (see number of comments on build problems here), for most people, it's probably far easier to just add the line to the config file, and be done.

While at it, you could make clearer that this applet is a copy of the upstream plasmoid, that it can lag behind on bugfixes, and that bugs should be reported to you, unless people can reproduce with the Vanilla battery.

Thanks for your cooperation!


-- sebas
Reply to this

-

 Re: Re: Re: Re: Fork of a Fork?

 
 by biophysics on: Dec 30 2010
 
Score 50%

>While at it, you could make clearer >that this applet is a copy of the >upstream plasmoid, that it can lag

Just like to point out that this plasmoid is not an exact _copy_ but a bit different:
This shows the time remaining _constantly_ and the text has an offset from the image. See the monochrome screenshot.



>Neither am I looking for money or >publicity. It just struck me that I >find some code on the Net which I've >written, and where my name is removed >from the Author's credits, and not >even named anywhere else. I'm not out >for publicity, you should just credit >people where credit is due.

>Neither is there a clear statement >where this code comes from

Sebas, can you carefully see in the DESCRIPTION just below UNINSTALL a bit text called CREDITS. This is where I took the initial code.


>Ow, and for your users, it would >probably be a good idea to also state >how the same can be achieved by >editing the config file.

Several things in gnome can be done by editing the config file but in KDE-SC everything has a nice place in systemsettings with simple tick boxes. I like this plasmoid to be in this way.



>You see, compiling code is not always >trivial (see number of comments on >build problems here), for most people, >it's probably far easier to just add >the line to the config file, and be >done.

With due respect why can't someone else have a different way of doing thing instead of your idea?

>It just struck me that I find some >code on the Net which I've written, >and where my name is removed from the >Author's credits

If I had posted the code with your name also, you might be telling me that other people reading the code _may_ think this code is your idea (instead of editing the config file _easily_). You would have told me at that point that I misrepresent the your ideas.




>Feel free to maintain this package >though, but please, if you publish it, >also incorporate any bugfixes we make >upstream to your copy. As far as I can >see, you're quite a bit behind on >those.

I can only try to do it within my time constraints. As I told before since the upstream has monochrome and config file editing ease" may be nobody needs this plasmoid. Not everyone has time and so many laptops to run kde-trunk to update it frequently.


I have great respect for all of you kde-devs, but please allow others to express their ideas. Next time I edit the code I will add your name. Is this fine? Anything else?


Reply to this

-

 Re: Re: Re: Re: Re: Fork of a Fork?

 
 by sebas on: Dec 31 2010
 
Score 50%

I'm not disallowing anything (you apparently read too much in my comments), just that some users would get away without compiling the forked applet if you made clearer that the same can be done without installing a 3rd party fork. It might just be that some people prefer it. (As you note, it would make it much easier to get bugfixes out to these people.)


-- sebas
Reply to this

-

 Don't compile withkde 4.6...

 
 by marcotangaro on: Jan 28 2011
 
Score 50%

It does not compile with kde 4.6:
-- Build files have been written to: /home/marco/Apps/plasma-batterytime-monochrome/src/plasma-batterytime-monochrome-0.4/build
Scanning dependencies of target plasma_applet_batterytime_automoc
Generating brightnessosdwidget.moc
Generating batterytime.moc
/home/marco/Apps/plasma-batterytime-monochrome/src/plasma-batterytime-monochrome-0.4/batterytime.h:187: Error: NOTIFY signal 'labelAlphaChanged' of property 'labelAlpha' does not exist in class Battery.
automoc4: process for /home/marco/Apps/plasma-batterytime-monochrome/src/plasma-batterytime-monochrome-0.4/build/batterytime.moc failed: Unknown error
pid to wait for: 0
returning failed..
make[2]: *** [CMakeFiles/plasma_applet_batterytime_automoc] Error 1
make[1]: *** [CMakeFiles/plasma_applet_batterytime_automoc.dir/all] Error 2
make: *** [all] Error 2


Reply to this

goto page: prev   1  2 

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.