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


Groups > linux.kernel > #1507760

Re: [RFC] shutdown machine when li-ion battery goes below 3V

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [RFC] shutdown machine when li-ion battery goes below 3V
Date 2016-10-24 23:50 +0200
Message-ID <svVi1-4Oo-13@gated-at.bofh.it> (permalink)
References <svUYF-4HF-3@gated-at.bofh.it> <svUYF-4HF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Mon 2016-10-24 14:29:33, Tony Lindgren wrote:
> * Pavel Machek <pavel@ucw.cz> [161024 14:24]:
> > Hi!
> > 
> > What about something like this? N900 will drain the battery down to
> > system crash, which is quite uncool.
> 
> Can't we make that generic and configurable for the voltage somehow?

I was afraid someone would ask :-).

Yes, we probably need to create battery object in the device tree,
then add properties there.

> Also, the shutdown voltage can depend on external devices connected.
> It could be for example 3.3V depending on eMMC on some devices while
> devices with no eMMC could have it at 3.0V.

Actually, I'd like to shutdown at 3.3V or more (like 3.5V), because
going below that is pretty mean to the battery. But if I set threshold
too high, GSM activity will push it below that for a very short while,
and I'll shutdown too soon.

Ideas welcome...
									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

[RFC] shutdown machine when li-ion battery goes below 3V Pavel Machek <pavel@ucw.cz> - 2016-10-24 23:30 +0200
  Re: [RFC] shutdown machine when li-ion battery goes below 3V Tony Lindgren <tony@atomide.com> - 2016-10-24 23:30 +0200
    Re: [RFC] shutdown machine when li-ion battery goes below 3V Pavel Machek <pavel@ucw.cz> - 2016-10-24 23:50 +0200
      Re: [RFC] shutdown machine when li-ion battery goes below 3V Pali Rohár <pali.rohar@gmail.com> - 2016-10-24 23:50 +0200
        Re: [RFC] shutdown machine when li-ion battery goes below 3V Pavel Machek <pavel@ucw.cz> - 2016-10-25 12:30 +0200
          Re: [RFC] shutdown machine when li-ion battery goes below 3V Pali Rohár <pali.rohar@gmail.com> - 2016-10-25 13:00 +0200
          Re: [RFC] shutdown machine when li-ion battery goes below 3V Pavel Machek <pavel@ucw.cz> - 2016-10-25 13:00 +0200
          Re: [RFC] shutdown machine when li-ion battery goes below 3V Pali Rohár <pali.rohar@gmail.com> - 2016-10-25 13:00 +0200
    Re: [RFC] shutdown machine when li-ion battery goes below 3V Pavel Machek <pavel@ucw.cz> - 2016-10-25 13:30 +0200
      Re: [RFC] shutdown machine when li-ion battery goes below 3V Pali Rohár <pali.rohar@gmail.com> - 2016-10-25 14:00 +0200
  Re: [RFC] shutdown machine when li-ion battery goes below 3V Olaf Titz <olaf@bigred.inka.de> - 2016-10-25 21:40 +0200

csiph-web