Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1506992

Re: [PATCH 1/2] power: bq27xxx_battery: add configurable poll_interval by sysfs

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] power: bq27xxx_battery: add configurable poll_interval by sysfs
Date 2016-10-24 10:30 +0200
Message-ID <svINQ-53o-25@gated-at.bofh.it> (permalink)
References <sieNz-5E2-1@gated-at.bofh.it> <sieNz-5E2-7@gated-at.bofh.it> <spInw-4rh-7@gated-at.bofh.it> <svDO9-1Rh-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> Ok can do in next revision
> 
> > Also... what is it good for?
> >
> > Do you have a device that needs non-standard interval?
> 
> Basically we need to have the ability to dynamically change the
> intervals. So closer to a battery drain we need to up the reporting
> intervals.

Could you elaborate on that? What intervals do you normally need, what
do you need around empty battery, and why is that?

I'm thinking about adding kernel thread to shut down the system if
battery goes critically empty. It is kernel job to protect the
hardware, and that should include the battery...

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 1/2] power: bq27xxx_battery: add configurable  poll_interval by sysfs Matt Ranostay <mranostay@gmail.com> - 2016-10-24 05:10 +0200
  Re: [PATCH 1/2] power: bq27xxx_battery: add configurable  poll_interval by sysfs Pavel Machek <pavel@ucw.cz> - 2016-10-24 10:30 +0200
  Re: [PATCH 1/2] power: bq27xxx_battery: add configurable  poll_interval by sysfs Pavel Machek <pavel@ucw.cz> - 2016-10-24 22:00 +0200
    Re: [PATCH 1/2] power: bq27xxx_battery: add configurable  poll_interval by sysfs Matt Ranostay <mranostay@gmail.com> - 2016-10-24 22:00 +0200

csiph-web