Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754714Ab0DTNhj (ORCPT ); Tue, 20 Apr 2010 09:37:39 -0400 Received: from ksp.mff.cuni.cz ([195.113.26.206]:52959 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751574Ab0DTNhh (ORCPT ); Tue, 20 Apr 2010 09:37:37 -0400 Date: Tue, 20 Apr 2010 15:37:24 +0200 From: Pavel Machek To: Andy Lutomirski Cc: Mohamed Ikbel Boulabiar , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Low-Level and Long-Term Battery Control Message-ID: <20100420133724.GD8670@ucw.cz> References: <4BCBDCA1.9030500@myrealbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BCBDCA1.9030500@myrealbox.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1344 Lines: 32 Hi! > >Is there any function in the Linux kernel that control the > >charging/discharging of the battery to provide better lifespan ? > >(add some years to its life ?) > > > >For Laptops, it is better to extract the battery from the Laptop when > >the computer will be on power for a long period. > >I ask if the kernel can do such control without the user intention and > >in an automatic way. > > > >Some BIOS provide to the user to select whether to block the battery > >charging to 50% to make it stand for more time. > >And Many people (like me) forget their laptops on power until the > >battery no more can hold energy after 2minutes of no power. > > > > On ThinkPads, tp_smapi (not in the kernel.org kernel) can do it. > I'd like to see this feature standardized in sysfs. Yep, it does, and it would make sense to make it standardized. (But I don't think setting it as low as 50% is practical -- nor do I think anyone sets it this low). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/