Enhanced Battery Monitor

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
7 .9
Description:

This is the enhanced battery monitor that for now shows the battery's remaining time apart from the features in the default plasmoid.

EDIT: This plasmoid is no longer maintained.
C

viranch

8 years ago

Thank you for thoroughly testing both versions of the plasmoid.

I just checked the release logs and realised that support for multiple batteries hasn't yet been shipped in 4.9.2, we'll probably do it in next release.

For the unofficial plasmoid, I will have to look into it. Thank you again for reporting the problem.

Report

claude0001

8 years ago

I now used both plasmoids side-by-side for one day.

The official plasmoid consistently displays only one battery, no matter what I do.

The unofficial plasmoid (which I downloaded using the "add new widget" function of KDE) mostly works as it should, i.e. displays total remaining time and charge states for two batteries. Only when I send the machine into hibernation it often (though not always) forgets one battery upon resume. Rebooting or cycling to sleep state and back then restores display of the second battery. The issue is not critical for me, but indicates that something is undeterminate with the battery count upon resuming from hibernation. The information shown by Plasma Engine Explorer has never been wrong up to now.

I run KDE 4.9.2 installed from the Kubuntu-Backports repo. How can I tell if the version of the battery plasmoid packaged by the Kubuntu-devs is really the most recent upstream version?

Report

claude0001

8 years ago

Hi viranch. Many thanks for making this non-official version available.

I have a system (Lenovo T400) with two batteries. The Enhanced Battery Monitor correctly displays the total remaining time.

However, it displays only the charge state of one battery, although two ("Battery0" and "Battery1") show up correctly as sources in Plasma Engine Explorer.

The tooltip states e.g. "Battery: 93% (discharging)". Comparison with the information form Plasma Engine Explorer suggests that this corresponds to "Battery0". The information for "Battery1" is omitted.

I'm running Ubuntu 12.04.1 with Kernel 3.2.0 (amd64) and KDE 4.9.2.

Report

openFox

8 years ago

With KDE 4.9.1 the remaining percentage (not remaining time) is not updated in the popup, it always stays on the same value when discharching.

The value delivered by the underlying data engine is correct, and it works as expected in the original battery plasmoid. It is also updated on a reload of plasma.

Until the developers of KDE decide to bring back this important funcionality in the upstream plasmoid, which will also be looked after and updated along with the rest of KDE, it would be great if you could fix this. Else this plasmoid is unfortunately not helpful.

Poke me if I can provide further information. System is a gentoo x86_64, qt 4.8.3, kde 4.9.1 on a thinkpad t410 with the built-in standard battery.

Kind regards

Report

C

viranch

8 years ago

Should be fixed now, let me know if any issues.

Report

openFox

8 years ago

Hi,

yes, it appears that it is fixed now, thank you a lot :)

As you know, I'd love to see that in upstream. But as this won't happen, thanks a lot for providing the alternative plasmoid here. I hope you'll manage to keep it up to date with upstream.

Again, thanks for your work.

Kind regards

Report

C

viranch

8 years ago

Don't worry, I myself am the maintainer of the upstream battery plasmoid, so this alternate version will be kept up-to-date :)
Still if you find any inconsistencies at any point, just leave a comment here and I'll get it done.

Report

openFox

8 years ago

Well, yes, one of the issues that unfortunately comes with this not being upstream: there are some translations missing.

Is there a simple way to translate it? (both "hours" and of course the name of the option in the UI is untranslated here. The hours one surprises me, as I am quite sure that KDE does provide a standard translation for that)

Thanks for your work

Report

C

viranch

8 years ago

Well I'm no translation expert, not much idea (or time to research, no offense) on how to add custom translations.

Report

TommyCZ

8 years ago

I think KDE developers are insane because they removed it.

Report

marvn

8 years ago

you shouldn't comment on things you don't have a clue about. It makes you look stupid...

v cestine se tomu rika broukopytlikovstvi ;)

Report

TommyCZ

8 years ago

No? Shouldn't I have my own opinion? I thought the fragmentation of opinions is one of advantages of Linux, many points of view, many influences... Thank you for telling me... totalitarianism.

Ne? Nesmím prezentovat vlastní názor? Měl jsem za to že se jedná o jednu z deviz Linuxu, různé názory, různé vlivy... Ještěže jste mě upozornil. V češtině se tomu říká totalitarismus. Osobně mi přijde Váš postoj zvrácenější, Vaše "broukpytlíkovství" - mimochodem krásný výraz který jste vymyslel, rovněž jedna z typických vlastností čechů, vymýšlet novotvary pro urážky (modroptáci, kryptobolševickosocdemáci...) - ještě nikoho nezabila, ale touha říkat ostatním co je A co není správné už "pár" lidí z života vyřadila.

Report

marvn

8 years ago

LOL, I'm not forbidding you from having an opinion. Dunno where you come to that conclusion, it certainly isn't in my post.

But you see, there is a reason backed by arguments why this feature was dropped. You, without even trying to prove these arguments wrong, called devs insane, which is...somthing only a really stupid person can do. So I merely poited this out...

But as one of my friends like to say: "Everyone have an undisputed right to look stupid on the internetz", so be my guest.

btw. calling someone "totalitarianist" just because you cannot read (or understand written text) right is pretty stupid as well

(sorry for the OT, I just cannot help myself)

Report

C

viranch

8 years ago

For those who can't see remaining time, run "plasmaengineexplorer --engine powermanagement", expand the "Battery" item in the tree and check if there's a "Remaining msec" field and its value is non zero, should look like this: http://i.imgur.com/ODse8.png

Report

brendafdez

8 years ago

Mine is 0. What should I do? Thanks!

Report

C

viranch

8 years ago

Well then its a KDE's backend problem, try upgrading to latest version of KDE to see if that fixes it.

Report

brendafdez

8 years ago

Ok, thanks for your reply. I'm on Chakra Linux with the latest KDE already. I can see the remaining battery by other means (for instance, right now I run $upower --show-info /org/freedesktop/UPower/devices/battery_BAT1 | grep "time").
What I see in plasma engine explorer is this: http://imageshack.us/f/145/snapshot1r.png/ (now I think "Battery" is actually the AC power and "Battery0" is the actual battery. The first says 0msec remaining and the second doesn't have the field.

Report

C

viranch

8 years ago

"Battery" shows a cumulative remaining time of all available batteries, so the info should be there only, not in individual battery[0-9]+ entries. If the remaining msec is 0 for you, I can't really do much about it (may be you can ask on plasma-devel mailing list) because all this plasmoid does is reads the value from there and converts it into "x hours and x mins".

Report

koko2k

8 years ago

But this time is with kde 4.9.0 and on archlinux.

Report

FraMari

8 years ago

It doesn't work for me...it doesn't show the remaining time. I'm on Chakra Linux, KDE 4.9.1

Report

C

viranch

8 years ago

Did you check the "show remaining time" option in plasmoid configuration?

Report

FraMari

8 years ago

Yes, i did.

Report

C

viranch

8 years ago

Does the command "acpi" show the remaining time of the battery?

Report

FraMari

8 years ago

Yes, and the acpid daemon is up and running

Report

C

viranch

8 years ago

Well its working fine here. will check. try upgrading to latest KDE and let me know if that fixes it.

Report

12345678910
11
product-maker RAIDENSUB Dec 30 2013 9 excellent
product-maker sylvainsjc Dec 30 2013 9 excellent
product-maker vgezer Aug 01 2013 9 excellent
product-maker ppc52776 May 05 2013 9 excellent
product-maker brand80 May 02 2013 9 excellent
product-maker ZaWertun Sep 26 2012 9 excellent
product-maker vitoubien Sep 13 2012 9 excellent
product-maker Contrast Sep 13 2012 9 excellent
product-maker avlas Sep 13 2012 9 excellent
product-maker SeaJey Sep 13 2012 9 excellent
product-maker mirzaD Sep 13 2012 9 excellent
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.1
updated Dec 28 2013
added Sep 13 2012
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0