From: Pavel Machek <pavel@ucw.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Bjørn Mork" <bjorn@mork.no>,
"kernel list" <linux-kernel@vger.kernel.org>,
lenb@kernel.org, linux-acpi@vger.kernel.org
Subject: Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60
Date: Sun, 24 Mar 2013 10:27:33 +0100 [thread overview]
Message-ID: <20130324092733.GA3071@amd.pavel.ucw.cz> (raw)
In-Reply-To: <6726347.ehkcE9iAxU@vostro.rjw.lan>
Hi!
> > > >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info
> > > >> present: yes
> > > >> design capacity: 0 mWh
> > > >> last full capacity: 0 mWh
> > > >> battery technology: rechargeable
> > > >> design voltage: 14400 mV
> > > >>
> > > >> This worked before... at least it works in 2.6 kernel used by debian.
> > > >
> > > > This works for me in 3.9-rc3. May I see your .config?
...
> > But problem is not in /proc, /sys has zeros, too.
> >
> > pavel@amd:~$ cat /sys/class/power_supply/BAT0/energy_full
> > 0
> > pavel@amd:~$ cat /sys/class/power_supply/BAT0/energy_full_design
> > 0
> > pavel@amd:~$ cat /sys/class/power_supply/BAT0/model_name
> > 93P5030
> > pavel@amd:~$
>
> Can you narrow the time frame when it stopped working a bit?
Well, 2.6.32 from debian works ok, and self-compiled 3.1+ kernel also
seems to work ok.
I'm not sure if 3.7+ kernels worked, actually... I'd have to do some
compiling to check.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2013-03-24 9:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-23 11:40 Pavel Machek
2013-03-23 12:32 ` Rafael J. Wysocki
2013-03-23 13:00 ` Bjørn Mork
2013-03-23 20:21 ` Pavel Machek
2013-03-23 23:45 ` Rafael J. Wysocki
2013-03-24 9:27 ` Pavel Machek [this message]
2013-03-24 22:53 ` Martin Mokrejs
2013-03-25 6:54 ` Lan Tianyu
2013-03-25 10:19 ` Martin Mokrejs
2013-03-25 14:20 ` Lan Tianyu
2013-04-23 8:40 ` Pavel Machek
2013-03-23 20:02 ` Pavel Machek
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=20130324092733.GA3071@amd.pavel.ucw.cz \
--to=pavel@ucw.cz \
--cc=bjorn@mork.no \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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
all inboxes | Powered by JetHome®