View Single Post
Old 05-01-2016, 03:59 PM   #150
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by h1ro View Post
some other questions about power saving strategies:

testing shows that when i enable wifi, then go into koreader, then let the device go to standby, wifi stops working. i'd say that is supposed to happen because in standby wi-fi should be off.
But is there also a reason it doesn't reconnect after coming back out of standby?
This is a question you might want to ask the Koreader developers. You could do something like this in Koreader's suspend.sh:


Code:
# Disable wifi
if lsmod | grep -q sdio_wifi_pwr ; then
	wlarm_le -i eth0 down
	ifconfig eth0 down
	rmmod -r dhd
	rmmod -r sdio_wifi_pwr
	echo "[$(date +'%x @ %X')] Kobo Suspend: Killed WiFi"
	enableWifi=true
else
	enableWifi=false
fi

#...
# Then at the very end of the script
if [ ${enableWifi} == true ]; then
	/adds/kbmenu/scripts_intern/wifi/wifi_enable_dhcp.sh
fi 
This script supposes that KSM is installed and wifi is expected to be started by wifi_enable_dhcp.sh rather than wifi_enable_static.sh. A script for general distribution would have to check for such things and provide other options.

Quote:
Originally Posted by h1ro View Post
Are there still any known power issues or does it work perfectly now? So far, my 1 week test went really well!
I do not know for sure, but I guess there are still problems. The developers of Koreader will know the answer.

Last edited by tshering; 05-04-2016 at 06:34 AM.
tshering is offline   Reply With Quote