Smart CPU Control

by Hippolyte Cosserat

Version 6 (October 7, 2017)

Download (41 downloads)

THIS IS NOT MY FLOW, JUST AN UPDATE OF THIS ONE : http://llamalab.com/automate/community/flows/7242

CPU Clock Changer based on conditions. Designed for smooth operation and extended battery life.

*SELECT YOUR CAMERA BEFORE USING*

***ROOT REQUIRED***

FEATURES:
Automatically selects CPU Clock profile based on conditions (listed below by priority).

1. CALL:
When in a phone call,
CPU set to: 100%, Governor set to: Interactive

2. CAMERA:
When your camera is launched,
CPU: 100%, Governor: Interactive

3. LOW POWER CHARGE:
IF battery is below 15% AND plugged in (Screen on or off),
CPU: 10%, Governor: Conservative

4. LOW BATTERY:
IF battery is below 30%,
CPU: 25%, Governor: Conservative

5. FAST CHARGE:
IF plugged in with the screen off,
CPU: 10%, Governor: Conservative

6. USING & CHARGING:
IF plugged in with the screen on,
CPU: 100%, Governor: Interactive

7. SCREEN OFF:
IF the screen is off,
CPU: 25%, Governor: Conservative

8. HALF BATTERY:
IF battery drops below 55%,
CPU: 50%, Governor: OnDemand

9. NORMAL:
IF none of the above conditions are met,
CPU: 80%, Governor: Interactive

PERFORMANCE MODE :

You can switch to performance mode just with the notification. Try it :)


PRIORITIES
If more than one condition is met, the higher priority condition is applied. The list above is numbered by priority.
For example, if battery level is low enough to enable half battery, and the camera app is launched, the camera profile will activate.

Conditions are checked every 10 seconds. As far as the tests I've run, this does not affect battery life to repeat the check every 10 seconds.

For feedback or questions, email hippolytecosserat@gmail.com