Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 511 Bytes

File metadata and controls

2 lines (2 loc) · 511 Bytes

batterylifetest

I wrote Battery Life Test because someone on an Internet forum asked for a way to test the battery life of a fleet of iPads. I decided the best way to approach this problem was to write a script that will loop through a series of websites, displaying them in an iFrame, until the battery runs out. An issue with the initial design was that the screen would dim and then turn off after a set number of minutes, which is configurable in the settings of the iOS device. There is an option in iOS