Commit graph

8 commits

Author SHA1 Message Date
Zhao Wei Liew
ae19300740 land: Properly set up low power modes on charger
We don't need all of the other stuff. Just disable all cores
and enable LPM.

Change-Id: I4721f9a5aa57d0523f37f7352ade8b9a2919b0d9
2016-11-11 06:59:46 +08:00
Zhao Wei Liew
f0906fbf4c land: Set up low power modes on recovery
Change-Id: I3f79b5277936e4d3f0b5c0b134ea4211ab3cf920
2016-11-11 06:57:07 +08:00
Zhao Wei Liew
1db73983eb land: Set up low power modes earlier
The device can get quite warm
while booting, especially duirng dexopt.

Change-Id: I0d843838b1e81fdf125ac8af65892b31124ae58d
2016-11-11 06:51:47 +08:00
Zhao Wei Liew
52b350fd29 land: Remove broken zRAM config
Will revisit.
Most likely MIUI's 'memory optimizations' do this
instead of using the traditional init scripts.

Change-Id: Ie168d05fa3f9fd1f5d2d995559a0bcc5cb2745d5
2016-11-10 13:41:04 +08:00
Zhao Wei Liew
43bb34fc21 land: Move cpuset config to power script
Change-Id: I9debac486fd9e15aa526538e84c1fbf7037897e6
2016-11-06 18:32:57 +08:00
Zhao Wei Liew
8ccdb7d6be land: Remove dependency on QCOM post-boot shell script
Refactor all the relevant stuff to init.qcom.power.rc

Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
2016-11-03 14:52:10 +08:00
Zhao Wei Liew
148b670d9a land: Enable zRAM
Change-Id: I6edebe7668195de8bcb52cf7fe8fc807e083b247
2016-11-01 14:13:59 +08:00
Zhao Wei Liew
63b61111e2 land: rootdir: Refactor post-boot power configuration
This makes it such that we can be more versatile in applying
our power configuration (recovery, different init triggers, etc.)

This will not be included in init.qcom.rc until this is verified.

Change-Id: I3a721ee8f31129f80662c752c370e951a4f80c38
2016-10-31 08:51:53 +08:00