Port battery saver mode: updates (2/2)

credits Yanuar Harry<ai.the.smarties.physics@gmail.com>

originally ported from Dan Trifan <jimsth@gmail.com>

Change-Id: I9db2f8d315c76bcfcfa73d28a345b9384e0fdfa1
Signed-off-by: hany <hany.alsamman@gmail.com>
Port battery saver mode: updates (2/2)

credits Yanuar Harry<ai.the.smarties.physics@gmail.com>

originally ported from Dan Trifan <jimsth@gmail.com>

Change-Id: I9cb8d7da62bdf7f766643241441711b2f06a4eb8
Signed-off-by: hany <hany.alsamman@gmail.com>