View Single Post
Old 03-27-2014, 06:23 PM   #17
Hades77
Member
Hades77 began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2014
Location: Germany
Device: Kindle Paperwhite 2 WiFi
Sorry to bother you again. But there's one more thing I noticed:
Assuming in config.sh I have
Code:
DISABLE_WIFI=1
then WiFi is switched off regardless whether the Kindle is in Screen Saver mode or not. In my eyes that makes no sense. I think it only should switch WiFi off, when in Screen Saver mode.

Maybe this could be realized as follows (update.sh):
Code:
# disable wireless if necessary
if test 1 -eq $DISABLE_WIFI; then
	lipc-get-prop com.lab126.powerd status | grep "Screen Saver" && (
                 logger "Disabling WiFi"
                 lipc-set-prop com.lab126.cmd wirelessEnable 0
        )
fi
Hades.

Last edited by Hades77; 03-27-2014 at 06:29 PM.
Hades77 is offline   Reply With Quote