From: Len Brown <lenb@kernel.org>
To: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Hughes <hughsient@gmail.com>,
Alexey Starikovskiy <astarikovskiy@suse.de>,
linux-acpi <linux-acpi@vger.kernel.org>, mjg <mjg@redhat.com>,
Matthias Clasen <mclasen@redhat.com>
Subject: Re: [patch] ACPI battery driver emits POWER_SUPPLY_STATUS_FULL when power lead plugged in (resend)
Date: Sat, 07 Feb 2009 22:59:04 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.0902072258330.6197@localhost.localdomain> (raw)
In-Reply-To: <20090130140702.GA14714@khazad-dum.debian.net>
On Fri, 30 Jan 2009, Henrique de Moraes Holschuh wrote:
> On Wed, 28 Jan 2009, Richard Hughes wrote:
> > The attached patch checks the last full and design charge, as this seems
> > to work in all cases I have here. In the case of broken batteries or
> > broken hardware, we just return UNKNOWN in this "settling" state, which
> > is much better for userspace than falling back to full.
> >
> > With the attached patch userspace gets the right states. In the future,
> > maybe we can do some sort of metric over time (watching to see if the
> > present charge changes) but for the most part the patch fixes things up
> > for userspace.
>
> I am ok with this patch, but it does have *one* corner case.
>
> Brand new good batteries will be reported as full while still charging, when
> they're near 100% (they will be above the design capacity).
>
> That isn't enough for me to complain about the patch, and the patch makes it
> MUCH better than the current broken behaviour.
>
> So you can have my Acked-by if you want it, for whatever little it is worth.
Applied to acpi-test.
thanks,
Len Brown, Intel Open Source Technology Center
next prev parent reply other threads:[~2009-02-08 4:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-23 16:57 ACPI battery driver emits POWER_SUPPLY_STATUS_FULL when power lead plugged in Richard Hughes
2009-01-23 19:00 ` Alexey Starikovskiy
2009-01-23 22:02 ` Henrique de Moraes Holschuh
2009-01-23 23:39 ` Richard Hughes
2009-01-24 0:14 ` Alexey Starikovskiy
2009-01-24 12:41 ` Henrique de Moraes Holschuh
2009-01-24 16:37 ` Alexey Starikovskiy
2009-01-25 10:28 ` [patch] " Richard Hughes
2009-01-25 10:55 ` Alexey Starikovskiy
2009-01-25 13:42 ` Henrique de Moraes Holschuh
2009-01-25 15:13 ` Richard Hughes
2009-01-25 19:50 ` Alexey Starikovskiy
2009-01-26 8:43 ` Richard Hughes
2009-01-28 13:20 ` [patch] ACPI battery driver emits POWER_SUPPLY_STATUS_FULL when power lead plugged in (resend) Richard Hughes
2009-01-30 14:07 ` Henrique de Moraes Holschuh
2009-02-08 3:59 ` Len Brown [this message]
2009-02-08 10:08 ` Richard Hughes
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=alpine.LFD.2.00.0902072258330.6197@localhost.localdomain \
--to=lenb@kernel.org \
--cc=astarikovskiy@suse.de \
--cc=hmh@hmh.eng.br \
--cc=hughsient@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=mclasen@redhat.com \
--cc=mjg@redhat.com \
/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