Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I need a way to kill my battery in my Ubuntu laptop. Is there any mind numbing tasks I can Ubuntu do that will eat up the battery? I have already shut off the power management options.

The battery is giving my issues and and someone said I should discharge it fully an recharge it from 0.

share|improve this question
As an aside, it is possible that this someone has no idea what they are talking about. You can't really "reboot" a battery, and while I'm no HW expert, discharging a battery to 0 sound kind of unhealthy for it, to be frank. – Williham Totland Jul 16 '11 at 20:54
@Williham is correct. Laptop batteries should never be brought below approximately 40% charge. It's very bad for them. Some people say you can have a complete discharge cycle every 100-300 charge cycles, though. – Reid Jul 16 '11 at 21:44
@Reid: Surely that's can, and not should? – Williham Totland Jul 16 '11 at 21:48
Well the battery is not working correctly to begin with, so fully discharging it and recharging it can't do anymore harm than has been done by the previous owner. – ianc1215 Jul 16 '11 at 22:15
I've heard of this related to "recalibrating" the battery. E.g., – LawrenceC Jul 17 '11 at 3:09
up vote 12 down vote accepted

apt-get install stress - a utility specifically designed for testing CPU and other functions. You can use it to peg your CPU at 100% usage until the battery dies.

I'm not sure what options exist to peg GPU usage at 100%.

You should drop to runlevel 1 and dismount all volumes possible since your system will not shutdown smoothly.

share|improve this answer
Another option would be to use a livecd such as – Nifle Jul 16 '11 at 20:33
i like the idea of a live cd because the machine will just stop and wont hurt the drives. – ianc1215 Jul 16 '11 at 21:40
I could not get the stresslinux to start on the laptop, so I just ran memtest 86+. That worked fine, I am interested in trying out that stress linux though. Thanks – ianc1215 Jul 18 '11 at 0:29

Run lots of Virtual Machines

Do a full ls -Rlath /

Try to find a string of text within every file on the disk

Fun full screen games

share|improve this answer

Try fork bomb in shell:

:(){ :|: & };:

however you've big changes to crash your laptop instead, so run at your own risk. I'm sure it'll keep your laptop busy until the battery is dead.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.