Difference between revisions of "Template:Battery Testing"
Jump to navigation
Jump to search
(Created page with "Waiting for 12.04 testing drives to complete article ~~~~ Category:Laptops") |
(create page, first draft) |
||
Line 1: | Line 1: | ||
− | + | ☐ Charge the battery completely | |
+ | *Check the '''Start''' box next to Battery Charge on the Keeper label. | ||
+ | *Charge the laptop with the AC adapter on the testing shelf. | ||
+ | *To see if the battery is charged, hover over the battery icon on the Desktop toolbar. | ||
+ | ☐ Start <code>batterytest</code><br> | ||
+ | *Open a Terminal. Type | ||
+ | batterytest | ||
+ | and hit enter. | ||
+ | *Open a second Terminal, and type | ||
+ | while : ; do stress-test ; sleep 300 ; done | ||
+ | ☐ Disconnect the AC adapter from power | ||
+ | *Keep the AC adapter with the laptop | ||
+ | '''How it works'''<br> | ||
+ | The laptop will run the stress-test in a loop until it runs out of power. For every minute the laptop is on during battery testing, a line of text is logged in a file called <code>bat_mon</code>. When battery test is run again, the script counts up the number of lines of text in the <code>bat_mon</code> file, and outputs the number as the number of minutes the battery lasted. | ||
[[Category:Laptops]] | [[Category:Laptops]] |
Revision as of 13:35, 12 December 2012
☐ Charge the battery completely
- Check the Start box next to Battery Charge on the Keeper label.
- Charge the laptop with the AC adapter on the testing shelf.
- To see if the battery is charged, hover over the battery icon on the Desktop toolbar.
☐ Start batterytest
- Open a Terminal. Type
batterytest
and hit enter.
- Open a second Terminal, and type
while : ; do stress-test ; sleep 300 ; done
☐ Disconnect the AC adapter from power
- Keep the AC adapter with the laptop
How it works
The laptop will run the stress-test in a loop until it runs out of power. For every minute the laptop is on during battery testing, a line of text is logged in a file called bat_mon
. When battery test is run again, the script counts up the number of lines of text in the bat_mon
file, and outputs the number as the number of minutes the battery lasted.