Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757770AbcJXV3j convert rfc822-to-8bit (ORCPT ); Mon, 24 Oct 2016 17:29:39 -0400 Received: from muru.com ([72.249.23.125]:45813 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752380AbcJXV3i (ORCPT ); Mon, 24 Oct 2016 17:29:38 -0400 Date: Mon, 24 Oct 2016 14:29:33 -0700 From: Tony Lindgren To: Pavel Machek Cc: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com Subject: Re: [RFC] shutdown machine when li-ion battery goes below 3V Message-ID: <20161024212932.uhjz752z2cy5hohl@atomide.com> References: <20161024212250.GA31336@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20161024212250.GA31336@amd> User-Agent: Mutt/1.6.2-neo (2016-07-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 433 Lines: 15 * Pavel Machek [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? 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. Regards, Tony