Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In order to avoid unnecessary recharge cycles on Ubuntu, is there a way to set the threshold determining when the laptop battery is being charged? Perhaps a manual switch to disable charging altogether?

share|improve this question

Sure, plug it in when you want to charge it and unplug it when you don't want to.

share|improve this answer
Funny. What if I have a battery at 50% whose charge I wanna use up to go wireless, without shutting down the laptop or initiating a recharge cycle before unplugging (quite a frequent scenario for me)? – AnC Oct 30 '09 at 20:01
Is there any way you can clarify your comment? You don't have to shut down to unplug it. – MDMarra Oct 30 '09 at 20:14
If I unplug after inserting the semi-charged battery, it will start charging. If I unplug before inserting a battery, the laptop will shut down hard. I've found this, but it's for ThinkPads only: – AnC Oct 30 '09 at 20:17

For IBM Thinkpads there exist a module tp_smapi to control charge thresholds. It you fix the start charge threshold at 60% and stop at 95%, the battery will charge upto 95% and stop charging (It will not discharge either). Once the AC power goes off the laptop will discharge but will not start recharging, even if plugged into AC, till the battery has discharged below 60%. Its useful feature to increase battery life as Li-ion batteries are best stored at 40%. If you don't often go off AC power the battery will remain at 40-60% as per threshold set by you and hence last for a long time. I'm not aware if the same module would work for other laptops as well. Sam - IBM Thinkpad - R52/R60.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .