Tests/other/Battery: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: {{Test case |testcase_name=Battery life logging |testcase_category=other |testcase_subcategory=Battery |testcase_stream=8.2, Any |testcase_component=Battery life and power draw |testcase_f...)
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|testcase_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).
|testcase_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).
|testcase_procedure=# Start the Activities you want to test.
|testcase_procedure=# Start the Activities you want to test.
# Start the [[http://wiki.laptop.org/go/XO_power_draw#How_to_use_it|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.
# Start the [[XO_power_draw#How_to_use_it|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.
# Unplug the XO and wait until the battery has been fully discharged (the XO will power down). This usually takes 4+ hours.
# Unplug the XO and wait until the battery has been fully discharged (the XO will power down). This usually takes 4+ hours.
# Return power to the XO by plugging it in or putting in a fresh battery.
# Return power to the XO by plugging it in or putting in a fresh battery.
Line 22: Line 22:
|testresult_build=760
|testresult_build=760
|testresult_passfail=Pass
|testresult_passfail=Pass
|testresult_comments=Started olpc-pwr-log on 20 laptops in VT (no suspend); currently running and generating logs nicely. Will post logs here when they're done being generated.
|testresult_comments=Started olpc-pwr-log on 20 laptops running 8.2-760 in VT (no suspend). Logs and analysis are at [[Image:Battery-drain-logs.tar.gz]].
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=767
|testresult_passfail=Pass
|testresult_comments=richard smith received logs in email
}}
}}
{{Test results end}}
{{Test results end}}

Latest revision as of 17:41, 16 October 2008

Test case: Short name::Battery life logging
How to report results

Stream ,|x|Build stream::x}}
Category Test category::other Sub-category Test subcategory::Battery
Component System component::Battery life and power draw
Feature System feature::http://wiki.laptop.org/go/XO_power_draw
Objective 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.
Tools Test tools::XO
Setup 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).
Procedure [[Test 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
[[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 More notes::
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::8.2 Build number::760 PassFail::Pass ,|x| #x}} [[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.]] Created::


Software release::Candidate Build stream::8.2 Build number::767 PassFail::Pass ,|x| #x}} Comments::richard smith received logs in email Created::