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-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html