[Bug 395666] Re: plasma_applet_battery widget doesn't show Remaining Time when on battery

Bug Watch Updater 395666 at bugs.launchpad.net
Wed May 30 12:00:50 UTC 2012


Launchpad has imported 28 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=204545.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-08-20T17:52:07+00:00 Kde-2011-08 wrote:

Version:            (using KDE 4.3.0)
Installed from:    Ubuntu Packages

In KDE 3 the battery monitor tool had a very accurate Estimate Time
Remaining feature. Please add this to the Battery Monitor plasmoid in
KDE 4. Thanks.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/11

------------------------------------------------------------------------
On 2009-08-20T21:11:55+00:00 marco wrote:

Great Idea, knowing the "Estimate time" is clearly more useful than
knowing a %

Hope it's donde for 4.3.1

Regards.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/12

------------------------------------------------------------------------
On 2009-08-21T07:41:29+00:00 Thilo-Alexander Ginkel wrote:

This feature was available in KDE 4.2, but disappeared in 4.3, so I'd
consider this a bug rather than a wishlist item.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/13

------------------------------------------------------------------------
On 2009-08-21T07:47:37+00:00 Thilo-Alexander Ginkel wrote:

Just noticed that this is most likely the result of the following
change, so the feature's disappearance is intentional:

http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/applets/battery/battery.cpp?revision=978089&view=markup

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/14

------------------------------------------------------------------------
On 2009-08-22T22:19:55+00:00 Kde-2011-08 wrote:

> This feature was available in KDE 4.2, but disappeared in 4.3, so
> I'd consider this a bug rather than a wishlist item.

In KDE, features missing from KDE 4 that were present in KDE 3 are
wishlist, not bugs. Thre has been much discussion on this, and if you
want convincing or feel the need to dispute it, please google the
previous arguments on the subject.


> Just noticed that this is most likely the result of the following
> change, so the feature's disappearance is intentional:

I don't know if it is an intentional feature removal (unlikely) or a
workaround (likely).

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/15

------------------------------------------------------------------------
On 2009-08-23T00:22:48+00:00 Thilo-Alexander Ginkel wrote:

(In reply to comment #4)
> > This feature was available in KDE 4.2, but disappeared in 4.3, so
> > I'd consider this a bug rather than a wishlist item.
> 
> In KDE, features missing from KDE 4 that were present in KDE 3 are wishlist,
> not bugs. Thre has been much discussion on this, and if you want convincing or
> feel the need to dispute it, please google the previous arguments on the
> subject.

That's why I wrote KDE 4.2. ;-) Anyway the SVN log I referenced above
documents how to re-enable the feature, so for me the issue is solved.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/16

------------------------------------------------------------------------
On 2009-08-23T11:45:29+00:00 Kde-2011-08 wrote:

> That's why I wrote KDE 4.2.

Oops!


> Anyway the SVN log I referenced above documents
> how to re-enable the feature, so for me the issue is solved.

For coders. For us users there is no solution.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/17

------------------------------------------------------------------------
On 2009-08-23T13:32:53+00:00 marco wrote:

Check-box botton for enabling this?

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/18

------------------------------------------------------------------------
On 2009-08-23T14:55:37+00:00 Kde-2011-08 wrote:

> Check-box botton for enabling this?

Please!

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/19

------------------------------------------------------------------------
On 2010-01-06T17:01:34+00:00 Cyberbeat-p wrote:

I wish that, too.  an estimation algorithm can be relative precise if
done right. I also don't see why the user whould be confused when the
time estimated is wrong, because the tool tip clearly states
"_estimated_ time left..".

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/20

------------------------------------------------------------------------
On 2010-01-23T06:35:51+00:00 Simply-bugz wrote:

I have been looking for this since I changed to kde and now i'm kde4.4
and still no sign of time estimation.

and I already expressed my frustration on the other thread.

<a href="https://bugs.kde.org/show_bug.cgi?id=182940#c23">
https://bugs.kde.org/show_bug.cgi?id=182940#c23>

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/21

------------------------------------------------------------------------
On 2010-01-23T10:46:59+00:00 Cyberbeat-p wrote:

You can edit a config file to re-enable this feature:

edit the file "~/.kde[4]/share/config/plasma-desktop-appletsrc"

search for the string "plugin=battery"

for me it is in the section 
"[Containments][3][Applets][60][Configuration][Applets][126]"

the go to the corresponding configuration section, for me
[Containments][3][Applets][60][Configuration][Applets][126][Configuration]

and add the line:
showRemainingTime=true

then do "pkill plasma-desktop" and "plasma-desktop" from konsole/krunner

the time estimation for me really seems worse than the one from ms-
windows, so perhaps it is possible to improve the backends.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/22

------------------------------------------------------------------------
On 2010-01-23T14:57:14+00:00 Sigra wrote:

(In reply to comment #11)
> You can edit a config file to re-enable this feature:
> 
> edit the file "~/.kde[4]/share/config/plasma-desktop-appletsrc"
> 
> search for the string "plugin=battery"
> 
> for me it is in the section 
> "[Containments][3][Applets][60][Configuration][Applets][126]"
> 
> the go to the corresponding configuration section, for me
> [Containments][3][Applets][60][Configuration][Applets][126][Configuration]
> 
> and add the line:
> showRemainingTime=true
> 
> then do "pkill plasma-desktop" and "plasma-desktop" from konsole/krunner
> 

This does not help on KDE 4.3.4. The configuration sections look like
this:

[Containments][3][Applets][9]
geometry=4,840,57,57
immutability=1
plugin=battery
zvalue=6

[Containments][3][Applets][9][Configuration]
showBatteryString=true
showRemainingTime=true

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/23

------------------------------------------------------------------------
On 2010-01-26T22:52:09+00:00 Elias Probst wrote:

Please read this blogpost:
http://vizzzion.org/blog/2009/11/battery-improvements-in-kde-plasma-4-4/

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/24

------------------------------------------------------------------------
On 2010-02-05T17:27:38+00:00 Cyberbeat-p wrote:

there is another reason, why the remaining time display is very usefull:

when power is plugged in, it shows the remaining recharging time for
me(I think quite precise, because it not depends on usage).

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/25

------------------------------------------------------------------------
On 2010-04-21T08:16:47+00:00 Simply-bugz wrote:

Tha(In reply to comment #11)
> You can edit a config file to re-enable this feature:
> 
> edit the file "~/.kde[4]/share/config/plasma-desktop-appletsrc"
> 
> search for the string "plugin=battery"
> 
> for me it is in the section 
> "[Containments][3][Applets][60][Configuration][Applets][126]"
> 
> the go to the corresponding configuration section, for me
> [Containments][3][Applets][60][Configuration][Applets][126][Configuration]
> 
> and add the line:
> showRemainingTime=true
> 
> then do "pkill plasma-desktop" and "plasma-desktop" from konsole/krunner
> 
> the time estimation for me really seems worse than the one from ms-windows, so
> perhaps it is possible to improve the backends.

Thank you very much for the option! 
The only extra thing I needed to add was section heading.

The result:
The time estimation is close (within a few minutes) to values from the script I coded in the mean time but that makes sense if it is using floating average.
I'll see how well it works in the long run, especially when I'm fighting for the last 10min :D.

Maybe there is an option to display time on MouseOver but that's a
minor.


I must be lucky with my hardware. On my eee pc 901 I can read 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0A:00/power_supply/BAT0/uevent 
and simply calculate time = 3600 * charge / current. Which is quite responsive (to CPU load and screen brightness changes for example) and is quite accurate.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/26

------------------------------------------------------------------------
On 2010-05-11T19:19:31+00:00 Adam Porter wrote:

Sadly, whoever's in charge over at Kubuntu is refusing to patch this
feature back in.

The only rationale that I've seen for removing this feature is that it's
not accurate.  However, that's not true.  The time remaining is provided
by the hardware through ACPI.  It's very accurate on my laptop, within a
range of 10 minutes.

Yes, if the power usage changes, the estimation may not be updated for
5-10 seconds.   So what?  If I start playing a DVD and then, halfway
through the movie, I want to see if there's enough battery power to
finish the movie, what good is a percentage going to do me?

Every other OS on the planet displays the time remaining, or has the
option to do so.  KDE has always been about giving the user the power to
choose.  It's bad enough that this feature was disabled by default, but
removing the checkbox setting is unbelievable.  In the name of
"simplicity"?!  It would only make three checkboxes!  I thought only
GNOME intentionally neutered their UI.  Just when I thought KDE 4 was
ready for primetime, now it looks like KDE 3.5 is still more USEFUL.

Please, let common sense prevail, and put this basic functionality back
in KDE!

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/28

------------------------------------------------------------------------
On 2010-05-11T22:17:05+00:00 Cyberbeat-p wrote:

There are already some patched versions on kde-look:

http://kde-
look.org/content/show.php/battery+plasmoid+with+remaining+time?content=120309

and

http://kde-
look.org/content/show.php/Battery+Time+Remaining?content=123767

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/29

------------------------------------------------------------------------
On 2010-05-12T01:32:29+00:00 Adam Porter wrote:

Thanks for sharing these links.

On Tue, May 11, 2010 at 15:17, H.H. <cyberbeat at gmx.de> wrote:
> https://bugs.kde.org/show_bug.cgi?id=204545
>
>
>
>
>
> --- Comment #17 from H.H. <cyberbeat gmx de>  2010-05-11 22:17:05 ---
> There are already some patched versions on kde-look:
>
> http://kde-look.org/content/show.php/battery+plasmoid+with+remaining+time?content=120309
>
> and
>
> http://kde-look.org/content/show.php/Battery+Time+Remaining?content=123767
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/30

------------------------------------------------------------------------
On 2010-07-08T22:28:06+00:00 molecule-eye wrote:

(In reply to comment #11)
> You can edit a config file to re-enable this feature:
> 
> edit the file "~/.kde[4]/share/config/plasma-desktop-appletsrc"
> 
> search for the string "plugin=battery"
> 
> for me it is in the section 
> "[Containments][3][Applets][60][Configuration][Applets][126]"
> 
> the go to the corresponding configuration section, for me
> [Containments][3][Applets][60][Configuration][Applets][126][Configuration]
> 
> and add the line:
> showRemainingTime=true
> 
> then do "pkill plasma-desktop" and "plasma-desktop" from konsole/krunner
> 
> the time estimation for me really seems worse than the one from ms-windows, so
> perhaps it is possible to improve the backends.

For some reason this half broke in my latest update to KDE 4.4.5. Now
instead of showing the remaining time on mouseover, it shows the
percentage again. However, it does show the remaining time if you click
on the plasmoid to display more detailed information. I wonder why it
doesn't show on mouseover anymore. Is there something else in the config
file that determines what's shown on mouseover?

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/34

------------------------------------------------------------------------
On 2011-02-06T00:42:27+00:00 Lamarque wrote:

*** Bug 205549 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/35

------------------------------------------------------------------------
On 2011-02-06T15:52:23+00:00 Aldo "xoen" Giambelluca wrote:

I hope you don't get me wrong but I think this bug is an usability
problem, my battery has a huge capacity but for people is important to
have an estimate of the remaing battery life.

I personally open a terminal and use acpi -V, but it's not a solution
for everyone.

I know is a rude estimate but it give me *an idea of how many time I
have*.

(I love your work and I thank you)

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/36

------------------------------------------------------------------------
On 2011-02-06T16:34:01+00:00 Cyberbeat-p wrote:

I am the author of this fork, and try stay in sync with the newest
kde-4.x versions.

http://kde-
look.org/content/show.php/battery+plasmoid+with+remaining+time?content=120309

Please imagine a voting among kde users for this feature, in which is
also made clear the disadvantages of the remaining-time-display-method
(it may jump in dependency of cpu/screen-brightness/..). I guess (I am
quite sure!) that nevertheless most user would LOVE an option to display
the remaining time. (would it be possible to have such a voting?) it is
only an option! no default!

I would really see the devs reconsidering about this. And for newbies
and fear of getting bugreports about wrong remaining time..perhaps it
would be possible to show a tooltip/question-mark behind the remaining
time option, that would "warn" the user of this "very bad" choice ;-)

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/37

------------------------------------------------------------------------
On 2011-02-06T22:18:14+00:00 FriedChicken wrote:

Maybe it would be the best to show *two* estimations:

* Estimation over a longer time period (for example 20-30 minutes):
Estimation for a continuous workload

* Short time estimation (~30 seconds): For noncontinuous workloads or if
the workload has changed (for example notebook was nearly idling around
and then avideo encoding process is launched => long-term estimation
would show a too optimistic value)

PowerTOP does something similar to that.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/38

------------------------------------------------------------------------
On 2011-02-06T22:55:39+00:00 Kde-2011-08 wrote:

> Maybe it would be the best to show *two* estimations
>

No, that would only confuse people.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/39

------------------------------------------------------------------------
On 2011-03-02T14:26:03+00:00 1lukas1 wrote:

As of KDE SC 4.6, opensuse 11.4, the remaining time is already shown
(and quite accurately). As far as I understand, decision to show or not
remaining time is upon distribution.

So isn't this bug supposed to be closed.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/40

------------------------------------------------------------------------
On 2011-03-02T15:41:18+00:00 Cyberbeat-p wrote:

I think this bug is about the choice for this by the user, not the
distribution.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/41

------------------------------------------------------------------------
On 2012-04-20T14:38:24+00:00 Stevebm-l wrote:

What is needed is an estimate of the time remaining given current usage,
so the user can see how watching a movie or recompiling the kernel is
affecting his remaining battery life. If the estimate fluctuates with
different usage patterns, that is the desired behavior. A commuter wants
to know if he has to change what he is doing for the battery to last
until his train reaches his destination, for instance.

In my brief experience of 15 years, estimates of time remaining have
only been way off when the battery was dying, but that is a symptom that
should not be hidden from the user. I believe people have come to expect
an estimate of time remaining when they use a laptop. I also believe it
is common knowledge that your mileage may vary, but weathermen still
predict the weather and traders still buy stock, even though they are
not 100% sure what the future will bring. The user should at least have
the option, and currently in KDE 4.6, adding showRemainingTime=true to
plasma-desktop-appletsrc doesn't add the time to the battery icon.

Reply at: https://bugs.launchpad.net/kde-
baseapps/+bug/395666/comments/42


** Bug watch added: KDE Bug Tracking System #182940
   https://bugs.kde.org/show_bug.cgi?id=182940

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/395666

Title:
  plasma_applet_battery widget doesn't show Remaining Time when on
  battery

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/395666/+subscriptions



More information about the kubuntu-bugs mailing list