Smart Phone Power Throttling Service Customization
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
For providing low Battery protectionfor sudden and unexpected system
shutdown, so that end user will prolong usage timer.
Here is brief introduction about CPU/GPU throttling behavior under low
battery status.
[SOLUTION]
power throttling Service includes 3 parts: LOW_BATTERY_PROTECT,
BATTERY_OC_PROTECT,BATTERY_PERCENT_PROTECT. please refer to
../../kernel/drivers/power/pMIC.c for detailed implement.
Take battery 15% as an example, feature task will register notifier
through API---register_battery_percent_notify.
Via this, check all of the task handler. like: for limiting the cpu max
freq--- mt_cpufreq.c/bat_per_protection_powerlimit.
when battery level is lower than 15%, it trigger CPU frequence to be under
1G and CPU core to less than 4.

Thereforce, you couldadjustlimited cpu rate and core number.
