| Summary: | Battery is not recognized (again) by plasma applet | ||
|---|---|---|---|
| Product: | [Unmaintained] solid | Reporter: | Yichao Yu <yyc1992> |
| Component: | powermanagement | Assignee: | Dario Freddi <drf> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | cfeck, thijs22nospam, tittiatcoke |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I see the same behavior with the latest KDE trunk. What I found in the .xsession-errors file are the following two messages: 1 file:///usr/share/kde4/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:103: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object. 1 file:///usr/share/kde4/apps/plasma/plasmoids/battery/contents/ui/batterymonitor.qml:49: TypeError: Result of expression 'pmSource.data["Battery0"]' [undefined] is not an object. I guess that this causes the plasmoid not to recognize the battery. Yeah, found similar (same) lines in mine~ Thx. Is this all in 4.9beta and/or development? Or also in 4.8.x? *** This bug has been marked as a duplicate of bug 301033 *** Afaik, it's fine here in all versions before 4.8.3. |
The power management plasma applet does not recognize my battery although HW information: solid-hardware details /org/freedesktop/UPower/devices/battery_BAT0 udi = '/org/freedesktop/UPower/devices/battery_BAT0' parent = '/org/freedesktop/UPower' (string) vendor = 'SANYO' (string) product = '42T4619' (string) description = 'Lithium Ion Battery' (string) Battery.plugged = true (bool) Battery.type = 'UnknownBattery' (0x0) (enum) Battery.chargePercent = 99 (0x63) (int) Battery.rechargeable = true (bool) Battery.chargeState = 'NoCharge' (0x0) (enum) upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 vendor: SANYO model: 42T4619 serial: 6045 power supply: no updated: Sun Jun 3 09:55:29 2012 (2 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged energy: 56.54 Wh energy-empty: 0 Wh energy-full: 57.07 Wh energy-full-design: 84.24 Wh energy-rate: 0 W voltage: 12.486 V percentage: 99.0713% capacity: 67.7469% technology: lithium-ion I realize this is pretty similiar to #288915 which is fixed in 4.8.{1,2,3}. BTW suspend and resume doesn't fix it~~ Reproducible: Always Steps to Reproduce: 1. same with #288915 2. 3.