You are not logged in.

#1 2012-05-04 16:20:00

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

KDE Battery applet doesn't show the time remaining anymore

Hello Everyone,

I've been using KDE for 2 months and not a single problem, but yesterday (right before the update of KDE from the repositories), I noticed that the battery applet stoped displaying the time remaining.. Now it only show's the percentage of the battery (charging or discharging).

How can I solve this problem ?

PS : I tried to start the root account just the see if it was a bad configuration (without having to remove all the kde configurations), but nothing to do, even in the root session I wasn't unable to see the time remaining... Can it be a package that I need to install ?

Thanks in Advance,
Luis Da Costa

(Sorry for my horrible english :S...)

Offline

#2 2012-05-04 16:23:01

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

Re: KDE Battery applet doesn't show the time remaining anymore

I'm not sure but I think the problem came from the update of upower... anyone know something about this ?

Offline

#3 2012-05-04 16:28:48

aliasbody
Member
From: Portugal
Registered: 2010-12-16
Posts: 157
Website

Re: KDE Battery applet doesn't show the time remaining anymore

For those with the same problem this is how they can see the battery time remaining until the problem is solved :

In the terminal type this :

upower --enumerate

It will output something like this:

/org/freedesktop/UPower/devices/line_power_AC0
/org/freedesktop/UPower/devices/battery_BAT0

The battery is the one that says BAT0... after that, you just have to do the fallowing to know all the informations about it (just change the path on the end of the line):

upower --show-info /org/freedesktop/UPower/devices/battery_BAT0

And you will have something like this :

  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/PNP0C0A:00/power_supply/BAT0
  vendor:               ASUS
  model:                1215N
  power supply:         no
  updated:              Fri May  4 17:24:02 2012 (21 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              19.8246 Wh
    energy-empty:        0 Wh
    energy-full:         51.726 Wh
    energy-full-design:  57.72 Wh
    energy-rate:         12.2544 W
    voltage:             10.866 V
    time to empty:       1.6 hours
    percentage:          38.3262%
    capacity:            89.6154%
    technology:          lithium-ion
  History (charge):
    1336148642  38.326  discharging
    1336148612  38.519  discharging
    1336148581  38.734  discharging
    1336148551  38.948  discharging
  History (rate):
    1336148642  12.254  discharging
    1336148612  12.432  discharging
    1336148581  12.377  discharging
    1336148551  12.876  discharging

For a more especific information you can do this :

upower --show-info /org/freedesktop/UPower/devices/battery_BAT0 | grep "time"

And it will output something like this :

time to empty:       1.5 hours

Hope this helped ^_^ (the problem with the kde battery applet is still here thought :S..)

Offline

#4 2012-05-11 06:55:30

Evilandi666
Member
Registered: 2010-10-28
Posts: 105

Re: KDE Battery applet doesn't show the time remaining anymore

I got the same problem, hopefully this will be fixed soon.

Depending on your model, you can use "acpi -V" to show remaining time.

Offline

#5 2012-05-11 11:13:26

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: KDE Battery applet doesn't show the time remaining anymore

I've had this problem too.  I disabled systemd and the problem is gone.  Blame it on systemd.


sin² x + cos² x = 1

Offline

#6 2012-05-11 13:53:31

Schrottfresse
Member
Registered: 2012-04-04
Posts: 14

Re: KDE Battery applet doesn't show the time remaining anymore

Same problem here, but no solution... sad

The problem is known and seems to be solved (https://bugs.kde.org/show_bug.cgi?id=290578), but the solution (updating to KDE 4.8) didn't work for me.

Last edited by Schrottfresse (2012-05-11 14:02:48)

Offline

#7 2012-06-01 18:02:52

danym
Member
From: Saint-Hippolyte, Qc
Registered: 2007-05-14
Posts: 75
Website

Re: KDE Battery applet doesn't show the time remaining anymore

Reinstall upower (pacman -S upower) since /usr/lib/systemd/system/upower.service seems to be missing!
It fixes the problem for me!


sin² x + cos² x = 1

Offline

#8 2012-06-06 05:00:12

Schrottfresse
Member
Registered: 2012-04-04
Posts: 14

Re: KDE Battery applet doesn't show the time remaining anymore

Done, but did not work for me. :-(

Offline

#9 2012-06-10 10:48:23

cubixx
Member
From: Brasov, Romania
Registered: 2011-08-02
Posts: 5

Re: KDE Battery applet doesn't show the time remaining anymore

Same problem here:(

Offline

#10 2012-07-13 07:23:36

Schrottfresse
Member
Registered: 2012-04-04
Posts: 14

Re: KDE Battery applet doesn't show the time remaining anymore

Found a solution:

Since my device notifier in the system tray disappeared, i removed the system tray from the taskbar. After i reinstalled it, the device notifier was back and the battery applet showed the remaining time again.

Offline

#11 2012-07-13 20:24:57

cubixx
Member
From: Brasov, Romania
Registered: 2011-08-02
Posts: 5

Re: KDE Battery applet doesn't show the time remaining anymore

It works! Thanks!

Last edited by cubixx (2012-07-13 20:25:26)

Offline

#12 2012-08-21 17:29:23

cubixx
Member
From: Brasov, Romania
Registered: 2011-08-02
Posts: 5

Re: KDE Battery applet doesn't show the time remaining anymore

The issue appeared again:(

EDIT: Solved, with inserting "showRemainingTime=true" after "showBatteryString=true" in "~/.kde4/share/config/plasma-desktop-appletsrc".
http://hanschen.org/2010/03/14/remainin … or-widget/

Last edited by cubixx (2012-08-21 17:56:19)

Offline

Board footer

Powered by FluxBB