Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1661957
| From | Paul Kocialkowski <contact@paulk.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw |
| Date | 2017-06-09 08:20 +0200 |
| Message-ID | <tQlr4-6oe-19@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <tPE2J-3Iv-11@gated-at.bofh.it> <tPL4e-8ou-13@gated-at.bofh.it> <tPPhv-2wD-5@gated-at.bofh.it> <tQ2y5-2WM-3@gated-at.bofh.it> <tQbi1-8li-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Le jeudi 08 juin 2017 à 21:27 +0200, Sebastian Reichel a écrit : > Hi, > > On Thu, Jun 08, 2017 at 01:08:52PM +0300, Paul Kocialkowski wrote: > > > > On Wed, 2017-06-07 at 09:52 +0200, Pavel Machek wrote: > > > > > > [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux. > > > > > > git/ > > > > > > comm > > > > > > it/? > > > > > > h=v4.12-rc4&id=7f93e1fa032bb5ee19b868b9649bc98c82553003 > > > > > > > > > > Is there some documentation that explains what different power supply > > > > > statuses mean? Because without that, we can have long and useless > > > > > discussions. > > > > > > > > Well, I couldn't really find much except the following from > > > > Documentation/ > > > > (which is not that helpful, and the BATTERY_STATUS_* don't seem to exist > > > > anymore): > > > > > > > > " STATUS - this attribute represents operating status (charging, full, > > > > discharging (i.e. powering a load), etc.). This corresponds to > > > > BATTERY_STATUS_* values, as defined in battery.h. " > > > > > > > > Generally speaking, I think the question to be asked is what information > > > > users > > > > will be interested in in each scenario we have to consider. > > > > > > Hmm. We really should add some documentation :-(. > > > > Maybe we should start a new thread about this to give it more visibility. > > That way, PM maintainers could weigh-in and share thoughts. > > > > I definitely agree there is a need to clarify what we want to report to > > userspace given the various scenarios we've been discussing. > > +1 for extension and update of documentation. If its known, that > the battery is trickle charged, it should report FULL. No need > to annoy people by constantly updating the status. Think of it > being mapped directly to a status LED. Of course the CURRENT/ENERGY > properties should still be updated, so that anyone interested in > the details can see them. Agreed. Do ou think there is a need to start a specific discussion about various scenarios and how to handle them or do shall we just use common sense here? -- Paul Kocialkowski, developer of free digital technology and hardware support Website: https://www.paulk.fr/ Coding blog: https://code.paulk.fr/ Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw Pavel Machek <pavel@ucw.cz> - 2017-06-07 22:00 +0200
Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw Paul Kocialkowski <contact@paulk.fr> - 2017-06-08 12:10 +0200
Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw Sebastian Reichel <sre@kernel.org> - 2017-06-08 21:30 +0200
Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw Paul Kocialkowski <contact@paulk.fr> - 2017-06-09 08:20 +0200
Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-06-13 14:20 +0200
csiph-web