Mobile Battery Usage Test
Using this test, mobile app users can quickly figure out the battery life and charging status of each device on which the target app is running, without even having to look at the device. Alerts are promptly sent out if the battery charge of any device is suddenly and significantly drained, so that users can act quickly and plugin the device for charging, before the device shuts down completely.
Agent deploying the test : A remote agent
Outputs of the test : One set of results for every device on which the target app runs
| Parameter | Description |
|
Test period |
How often should the test be executed. |
|
Proxy Host |
If the eG agent communicates with the Mobile RUM collector via a proxy, then specify the IP address/fully-qualified host name of the proxy server here. By default, this is set to none, indicating that the eG agent does not communicate with the collector via a proxy. |
|
Proxy Port |
If the eG agent communicates with the Mobile RUM collector via a proxy, then specify the port at which the proxy server listens for requests from the eG agent. By default, this is set to none, indicating that the eG agent does not communicate with the collector via a proxy. |
|
Proxy Username and Proxy Password |
If the eG agent communicates with the Mobile RUM collector via a proxy server, and if proxy server requires authentication, then specify valid credentials for authentication against Proxy Username and Proxy Password. If no proxy server is used or if the proxy server used does not require authentication, then set the ProxyUsername and ProxyPassword to none. |
|
Confirm Password |
Confirm the Proxy Password by retyping it here. Note: If you Reconfigure the test later to change the values of the Proxy Username, Proxy Password, Confirm Password parameters, then such changes will be effected only if the eG remote agent monitoring the Mobile RUM component is restarted. |
|
No Device High Battery Level |
By default, this parameter is set to 10. This implies that, by default, the test will report metrics for only the top-10 devices, in terms of their battery usage. This enables app administrators to focus on problem devices alone, without being distracted by those devices where the battery usage is minimal. To identify the problem devices, the test sorts the metrics it collects from each device in the descending order of the Battery life measure, picks the first 10 devices in the sorted list, and reports metrics for only those devices. In other words, these devices alone will be the descriptors of this test. You can increase or decrease this device count, based on your need and the volume of data the eG database can handle. |
|
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency. |
| Measurement | Description | Measurement Unit | Interpretation |
|---|---|---|---|
|
Charging status |
Indicates if this device's battery is being currently charged or not. |
Number |
If this measure reports the value 1, it implies that the device is currently plugged in and the battery is being charged. If this measure reports the value 0, it implies that the device is not plugged in currently and the battery is not being charged. |
|
Battery life |
Reports how much life is left in this device's battery, as a percentage. |
Percent |
A value over 90% is ideal. A very low value implies that the device's battery power is being drained. In this case, check the value of the Charging status measure to determine if the device is plugged in or not. If not, then plugin the device and restore the battery charge. However, if the device is already plugged in, but the power is still being drained, then you need to dig deeper and figure out if any app on the device is power-hungry. Shutting down or uninstalling such apps can help increase battery life. |
|
Plug type |
Indicates the type of plug that is supported by this device. |
|
This measure is reported only for Android devices and only if the Charging status of the devices is reported as 1 (i.e., plugged in and charging). |