主权项 |
1. A method of operating a mobile device having first and second operating systems installed on the mobile device, the mobile device consuming more power while executing the first operating system than while executing the second operating system, the method comprising the steps of:
while the mobile device is executing the first operating system but not the second operating system, determining, by one or more processors, that an amount of battery power remaining in the mobile device is less than a predetermined threshold, and based in part on the remaining battery power in the mobile device and the lower power consumption of the mobile device if executing the second operating system but not the first operating system, the one or more processors terminating execution of the first operating system in the mobile device and executing the second operating system in the mobile device; determining, by the one or more processors, applications being executed on the mobile device while the mobile device executes the first operating system; retrieving from a table in a data repository, by the one or more processors, first rates of the applications using the battery power of the mobile device based on the applications being executed on the mobile device while the mobile device executes the first operating system; retrieving from the table in the data repository, by the one or more processors, second rates of the applications using the battery power of the mobile device based on the applications being executed on the mobile device while the mobile device executes the second operating system; generating, by the one or more processors, first and second sums by adding the first rates together and by adding the second rates together, respectively; and determining, by the one or more processors, the first sum is greater than the second sum, wherein the steps of terminating the execution of the first operating system in the mobile device and executing the second operating system in the mobile device are based in part on the first sum being greater than the second sum. |