From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Alexey Starikovskiy <aystarik@gmail.com>
Cc: Alexey Starikovskiy <astarikovskiy@suse.de>,
Roland Dreier <roland@digitalvampire.org>,
Len Brown <len.brown@intel.com>,
linux-acpi@vger.kernel.org,
Rolf Eike Beer <eike-kernel@sf-tec.de>
Subject: Re: ACPI: Always return valid 'status' from acpi_battery_get_property()
Date: Mon, 19 Nov 2007 16:36:06 -0200 [thread overview]
Message-ID: <20071119183606.GE3580@khazad-dum.debian.net> (raw)
In-Reply-To: <4741858D.9020802@gmail.com>
On Mon, 19 Nov 2007, Alexey Starikovskiy wrote:
> Henrique de Moraes Holschuh wrote:
>> On Thu, 08 Nov 2007, Alexey Starikovskiy wrote:
>>>> handle explicitly. There doesn't seem to be any status enum value
>>>> defined that makes more sense than 'unknown' for a battery at a
>>>> critical charge level.
>>
>> Maybe one should be added?
>>
> There is already "Critical" field for capacity.
Ah, that's ok, then.
> It seems that the state should be limited to only 3 options:
> charging, discharging, and not charging.
I'd call "not charging", "idle" instead. After all, discharging IS not
charging as well...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2007-11-19 18:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 23:09 ACPI: Always return valid 'status' from acpi_battery_get_property() Roland Dreier
2007-11-08 8:29 ` Alexey Starikovskiy
2007-11-08 14:42 ` Henrique de Moraes Holschuh
2007-11-19 12:46 ` Alexey Starikovskiy
2007-11-19 18:36 ` Henrique de Moraes Holschuh [this message]
2007-11-19 18:41 ` Alexey Starikovskiy
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=20071119183606.GE3580@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=astarikovskiy@suse.de \
--cc=aystarik@gmail.com \
--cc=eike-kernel@sf-tec.de \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=roland@digitalvampire.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