summaryrefslogtreecommitdiffstats
path: root/gui/blanktimer.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-10Support reading since_epoch and secondary brightness filesxNUTx1-2/+2
TWFunc::Fixup_Time_On_Boot: Will now try to read /sys/class/rtc/rtc0/since_epoch to correct time, if that fails it will try to use the ats files to correct time. TWFunc::Set_Brightness: One single function to set brightness from both the automated functions and the gui actions. It is able to set a second brightness path if present, it will set them both the same value. Many Sony devices have 2 brightness files in the sysfs that must be set to properly set the brightness. Change-Id: I7ca582109085dfbcb46b8de73ad031e4b7903fca
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-25/+29
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-06-08Do not render the GUI when the blanktimer turns off the display.gordon13371-0/+2
Normally, when the display has been turned off by blanktimer, the GUI actually still renders the GUI elements (eg. progressbar while doing backup/restore/etc.) This patch will check whenever the display is turned off, and if it is turned off simply dont render. This avoids heating up the device and will save battery.
2013-03-01Add 2 second pre-dim and bugfix blank timerDees_Troy1-4/+2
2 second predim code courtesy of bigbiff Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
2013-02-20Configurable timeout and brightness settingsDees_Troy1-55/+56
Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
2013-02-13This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff1-0/+55
Will also set overlay to lockscreen so we don't have inadvetent screen selections. Touching the screen will bring the display back up. add back check script for poweroff move diff time function to twrp-functions.cpp make sure we chmod after copy_file add read_file and write_file functions to twrp-functions.cpp make single thread try to force update screen add forceRender drop caches after tar processing Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b