Bug 301236 - Battery Applet shows no battery since 4.9 Beta1
Summary: Battery Applet shows no battery since 4.9 Beta1
Status: RESOLVED DUPLICATE of bug 301033
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: 4.8.80 (beta1)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 19:08 UTC by Christian (Fuchs)
Modified: 2012-06-05 19:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian (Fuchs) 2012-06-05 19:08:01 UTC
The Battery applet shows that no battery is present. 

Hardware is a thinkpad t410 with the original battery

Solid says: 

solid-hardware details /org/freedesktop/UPower/devices/battery_BAT0
udi = '/org/freedesktop/UPower/devices/battery_BAT0'
  parent = '/org/freedesktop/UPower'  (string)
  vendor = 'Panasonic'  (string)
  product = '42T4801'  (string)
  description = 'Lithium Ion Battery'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'UnknownBattery'  (0x0)  (enum)
  Battery.chargePercent = 64  (0x40)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'Charging'  (0x1)  (enum)

upower says: 

upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0a/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
  vendor:               Panasonic
  model:                42T4801
  serial:               25242
  power supply:         no
  updated:              Tue Jun  5 21:05:11 2012 (14 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              52.39 Wh
    energy-empty:        0 Wh
    energy-full:         82.11 Wh
    energy-full-design:  84.24 Wh
    energy-rate:         24.868 W
    voltage:             11.508 V
    time to full:        1.2 hours
    percentage:          63.8047%
    capacity:            97.4715%
    technology:          lithium-ion
  History (charge):
    1338923111  63.805  charging
    1338923081  63.573  charging
    1338923051  63.293  charging
    1338923021  63.062  charging
  History (rate):
    1338923111  24.868  charging
    1338923081  24.851  charging
    1338923051  24.825  charging
    1338923021  24.475  charging

.xsession-error says

file:///usr/share/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:49: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object.

System is a gentoo x86_64 system, KDE is 4.9 Beta1. 

If you need further information, feel free to ask. 

Thanks in advance for fixing this.


Reproducible: Always

Steps to Reproduce:
1. Have a battery
2. Have KDE 4.9 Beta 1
3. Have the battery applet  (in systray here)
Actual Results:  
Shows no battery

Expected Results:  
Shows battery
Comment 1 Christoph Feck 2012-06-05 19:20:10 UTC

*** This bug has been marked as a duplicate of bug 301033 ***