From: Pavel Machek <pavel@ucw.cz>
To: "João Paulo Rechi Vita" <jprvita@gmail.com>
Cc: "Hans de Goede" <hdegoede@redhat.com>,
"Daniel Drake" <drake@endlessm.com>,
"Rafael J . Wysocki" <rjw@rjwysocki.net>,
"Len Brown" <lenb@kernel.org>,
linux-acpi@vger.kernel.org,
"Sebastian Reichel" <sebastian.reichel@collabora.co.uk>,
LKML <linux-kernel@vger.kernel.org>,
linux@endlessm.com,
"João Paulo Rechi Vita" <jprvita@endlessm.com>
Subject: Re: [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%
Date: Tue, 20 Nov 2018 10:16:19 +0100 [thread overview]
Message-ID: <20181120091619.GC16916@amd> (raw)
In-Reply-To: <CA+A7VXWwfh-jdiq60kwY65k29BXP6PNOc9=X7b6SYF9=T65UUA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
Hi!
> > > Anyways this ultimately is Rafael's call. If Rafael is ok with this
> > > patch then I would like to see Pavel's comment addressed and otherwise
> > > it is fine with me.
> > >
>
> If we can get to an agreement on this I'll send a v2 without division.
>
> > > Note that we will still often get the case where a laptop is charged,
> > > reports full, is unplugged for 5 minutes and then replugged and then
> > > reports a capacity of 97% combined with "not charging", so we will
> > > still need to fix userspace to handle this.
> >
>
> Yes, I agree that should be addressed in userspace, as it is pretty
> much a policy decision.
But it is battery hardware doing this. So you need to take it into
account.
> > For the record, I don't think I'm okay with this.
> >
> > There's nothing special about 100% charge.
> >
>
> I don't agree there is nothing special about 100% charge. There is a
> separate state to represent battery full for a reason, which is the
> user wanting to know when their battery is 100% charged and not being
> discharged.
Yes, there is full for a reason, and you can be full at 97%, for
example, as described above.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2018-11-20 9:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-03 6:57 [PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100% João Paulo Rechi Vita
2018-11-03 11:28 ` Hans de Goede
2018-11-06 20:14 ` João Paulo Rechi Vita
2018-11-05 9:19 ` Pavel Machek
2018-11-06 20:34 ` João Paulo Rechi Vita
2018-11-07 4:53 ` Daniel Drake
2018-11-11 11:57 ` Hans de Goede
2018-11-11 12:22 ` Pavel Machek
2018-11-20 2:12 ` João Paulo Rechi Vita
2018-11-20 9:16 ` Pavel Machek [this message]
2018-11-11 11:30 ` 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=20181120091619.GC16916@amd \
--to=pavel@ucw.cz \
--cc=drake@endlessm.com \
--cc=hdegoede@redhat.com \
--cc=jprvita@endlessm.com \
--cc=jprvita@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@endlessm.com \
--cc=rjw@rjwysocki.net \
--cc=sebastian.reichel@collabora.co.uk \
/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).