Tests/other/Battery

From OLPC

< Tests
Revision as of 17:41, 16 October 2008 by Frances (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Test case: Battery life logging
How to report results

Stream 8.2, Any
Category other Sub-category Battery
Component Battery life and power draw
Feature http://wiki.laptop.org/go/XO_power_draw
Objective Check how long the battery lasts for a given build running given sets of Activities; also checks that the build has the ability to monitor battery life through olpc-pwr-log.
Tools XO
Setup Make sure the XO has the build and Activities you want to test installed. Plug in the XO until the battery is at the charge level you desire (in most cases, this will be until it's fully charged).
Procedure # Start the Activities you want to test.
  1. Start the olpc-pwr-log script; be sure to start it in the VT or in Terminal depending on whether you want the XO to suspend or not.
  2. Unplug the XO and wait until the battery has been fully discharged (the XO will power down). This usually takes 4+ hours.
  3. Return power to the XO by plugging it in or putting in a fresh battery.
  4. Boot the XO up and copy the olpc-pwr-log logfile (generated in the same directory you ran the olpc-pwr-log script from) to a USB stick; attach the log to your results report.
Expected Results
and Pass Criteria
The battery should run out and the XO should power down several hours after you unplug it, and you should be able to recover, read, and understand the olpc-pwr-log logfile. There is no specific length of time the battery should last unless you are told otherwise.
Comments warning.pngEmpty strings are not accepted.
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Candidate 8.2 760 Pass Started olpc-pwr-log on 20 laptops running 8.2-760 in VT (no suspend). Logs and analysis are at File:Battery-drain-logs.tar.gz. warning.pngThe date "" was not understood (support for dates is still experimental).


Candidate 8.2 767 Pass richard smith received logs in email warning.pngThe date "" was not understood (support for dates is still experimental).


Facts about Tests/other/BatteryRDF feed
Build number 760  +, and 767  +
Build stream 8.2  +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , and Any  +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride
Comments Started olpc-pwr-log on 20 laptops running 8.2-760 in VT (no suspend). Logs and analysis are at File:Battery-drain-logs.tar.gz., and richard smith received logs in email
Created warning.pngThe date "" was not understood (support for dates is still experimental).
More notes warning.pngEmpty strings are not accepted.
Pass criteria The battery should run out and the XO shou The battery should run out and the XO should power down several hours after you unplug it, and you should be able to recover, read, and understand the olpc-pwr-log logfile. There is no specific length of time the battery should last unless you are told otherwise. should last unless you are told otherwise.
PassFail Pass  +
Short name Battery life logging  +
Software release Candidate  +
System component Battery life and power draw  +
System feature http://wiki.laptop.org/go/XO_power_draw  +
Test category other  +
Test objective Check how long the battery lasts for a given build running given sets of Activities; also checks that the build has the ability to monitor battery life through olpc-pwr-log.  +
Test procedure # Start the Activities you want to test.
  1. # Start the Activities you want to test.
  2. Start the olpc-pwr-log script; be sure to start it in the VT or in Terminal depending on whether you want the XO to suspend or not.
  3. Unplug the XO and wait until the battery has been fully discharged (the XO will power down). This usually takes 4+ hours.
  4. Return power to the XO by plugging it in or putting in a fresh battery.
  5. Boot the XO up and copy the olpc-pwr-log logfile (generated in the same directory you ran the olpc-pwr-log script from) to a USB stick; attach the log to your results report. ck; attach the log to your results report.
Test setup Make sure the XO has the build and Activities you want to test installed. Plug in the XO until the battery is at the charge level you desire (in most cases, this will be until it's fully charged).
Test subcategory Battery  +
Test tools XO  +
Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox