Bug 41623 - UPower Doesn't Detect Battery
Summary: UPower Doesn't Detect Battery
Status: RESOLVED NOTOURBUG
Alias: None
Product: upower
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-09 10:23 UTC by j
Modified: 2011-10-10 09:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg output (58.38 KB, text/plain)
2011-10-09 10:23 UTC, j
Details
lspci output (2.16 KB, text/plain)
2011-10-09 10:26 UTC, j
Details

Description j 2011-10-09 10:23:52 UTC
Created attachment 52148 [details]
dmesg output

I have a Latitude E6410 laptop, with a 9 cell battery using 64-bit Linux. (Arch to be specific). Somewhere in the neighborhood of one in seven times I turn my laptop on, KDE reports that I have no battery installed (even when running on it) and upower also reports that there are no batteries installed. When this happens, I just restart my laptop, and try again. Again, most of the time upower and the KDE battery applet sees the battery just fine, but one in seven times I boot it doesn't show up.

When I run upower -d, I get this:

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
  power supply:         yes
  updated:              Sun Oct  9 13:12:05 2011 (143 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  0.9.14
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  yes
  is-docked:       no
Comment 1 j 2011-10-09 10:26:37 UTC
Created attachment 52149 [details]
lspci output
Comment 2 Richard Hughes 2011-10-10 03:09:28 UTC
What does "ls /sys/class/power_supply/" say when no battery is detected by upower? Thanks.
Comment 3 j 2011-10-10 07:24:21 UTC
(In reply to comment #2)
> What does "ls /sys/class/power_supply/" say when no battery is detected by
> upower? Thanks.

The response I get is "AC".
Comment 4 Richard Hughes 2011-10-10 07:50:28 UTC
(In reply to comment #3)
> The response I get is "AC".

Then it's a kernel bug, as upower just reads this interface and all it shows is the AC adaptor. Sorry. :(
Comment 5 j 2011-10-10 08:58:41 UTC
Thank you for helping me. What is the link for filing a bug report against the kernel?
Comment 6 Richard Hughes 2011-10-10 09:16:38 UTC
https://bugzilla.kernel.org/ seems down at at the moment, so I would use your distros bugtracker for now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.