linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Fita <adrian.fita@gmail.com>
To: linux-pm@lists.linux-foundation.org
Subject: udev/power_supply battery oscilates between remove and add
Date: Wed, 25 Apr 2012 02:24:31 +0300	[thread overview]
Message-ID: <4F97362F.9050909@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

Hi. I hope I'm addressing the appropriate mailinglist regarding this. If 
not, please direct me to the right place where I should write.

I'm using Debian Wheezy/Testing, kernel 3.2.15-1 on a HP PowerBook 4515s 
laptop.

I noticed that /var/log/syslog is getting spammed with messages like in 
the attached syslog-laptop-mode_spam.log.gz file.

Also, at the same time, "upower --monitor" shows the messages from 
upower-monitor.log.gz.

In Windows XP I don't see any issue with the battery and also running HP 
Battery Check 
(http://h20239.www2.hp.com/techcenter/battery/battery_ts.htm) I got the 
result that the battery is functioning correctly, but is week 
(admittedly it is more than a year old, but still holds a charge for 30 
mins).

So it looks like a kernel issue. I started checking the udev events with 
'udevadm monitor --property' and got the messages from the 
udevadm_monitor.log.gz file.

This happens only when the battery and the power cable are connected. 
When running with the battery removed or without the power cable 
connected (running only on battery) this is not happening.

Here are some more discussions about this:
- a Debian Bug reported: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638970
- and also a thread on the Upower mailinglist: 
http://lists.freedesktop.org/archives/devkit-devel/2012-February/001225.html
-- 
Fita Adrian

[-- Attachment #2: syslog-laptop-mode_spam.log.gz --]
[-- Type: application/x-gzip, Size: 160 bytes --]

[-- Attachment #3: upower-monitor.log.gz --]
[-- Type: application/x-gzip, Size: 240 bytes --]

[-- Attachment #4: udevadm_monitor.log.gz --]
[-- Type: application/x-gzip, Size: 616 bytes --]

[-- Attachment #5: Type: text/plain, Size: 0 bytes --]



                 reply	other threads:[~2012-04-24 23:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F97362F.9050909@gmail.com \
    --to=adrian.fita@gmail.com \
    --cc=linux-pm@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).