init: enable regulator vdd_gpu
Since we don't use gpu in offmode, disable vdd_gpu can save ~50mA.
enable it at post-fs
Bug: 17660295
Change-Id: I955d479dbd5d81aa1f374fe56454fc7e35a1b78a
Signed-off-by: Weizhung Ding <weizhung_ding@htc.com>
diff --git a/init.flounder.rc b/init.flounder.rc
index bd21fde..a127b46 100644
--- a/init.flounder.rc
+++ b/init.flounder.rc
@@ -18,6 +18,7 @@
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
on post-fs
+ write /sys/power/gpu_power_on 1
write /sys/module/input_cfboost/parameters/gpu_wakeup 1
# Turn on swap
swapon_all /fstab.flounder