Bug 312227 - Plasma show no battery when started without battery
Summary: Plasma show no battery when started without battery
Status: RESOLVED DUPLICATE of bug 302310
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-battery (show other bugs)
Version: 4.9.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-26 17:34 UTC by Pietro
Modified: 2013-02-04 16:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro 2012-12-26 17:34:32 UTC
If I start KDE without the laptop battery inserted, it shows (correctly) the battery is abstent, but if I instert it, the applet does not refresh and does not update with the charge status.

This is the output of solid-hardware details /org/freedesktop/UPower/devices/battery_BAT0 before end after battery inserting that confirms solid works correctly

Battery not inserted:
pxpert@PxNetbook ~ $ solid-hardware details /org/freedesktop/UPower/devices/
udi = '/org/freedesktop/UPower/devices/'
  parent = ''  (string)
  vendor = ''  (string)
  product = ''  (string)
  description = ''  (string)

After inserting battery:
pxpert@PxNetbook ~ $ solid-hardware details /org/freedesktop/UPower/devices/battery_BAT0
udi = '/org/freedesktop/UPower/devices/battery_BAT0'
  parent = '/org/freedesktop/UPower'  (string)
  vendor = 'ASUS'  (string)
  product = '1015BXO'  (string)
  description = 'Lithium Ion Battery'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'PrimaryBattery'  (0x3)  (enum)
  Battery.chargePercent = 86  (0x56)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'Charging'  (0x1)  (enum)


If I restart KDE with the battery inserted, it shows battery status correctly

Reproducible: Always

Steps to Reproduce:
1. Start KDE Without the battery inserted
2. Insert the battery
Actual Results:  
The applet will continue showing there is no battery

Expected Results:  
The applet should show battery status

Using an Asus EEEPC 1015BX Netbook
Comment 1 David Edmundson 2013-02-04 16:32:21 UTC

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