On/off via UI
Posted: Fri Dec 21, 2018 11:31 am
Hi,
I will be using the Raspbian Lite OS.
I want my Users to be able to switch the device on/off.
I am using a battery source for the main application.
I was thinking of providing kiosk browser UI (which I found some sample code for) to allow the user to click on my virtual button to shut the device down when not in use.
But, 'durrh' just occurred how can i get my user to switch the device back on? Or should I be looking at some 'sleep' functionality rather than looking to completely power off?
I will be using the Raspbian Lite OS.
I want my Users to be able to switch the device on/off.
I am using a battery source for the main application.
I was thinking of providing kiosk browser UI (which I found some sample code for) to allow the user to click on my virtual button to shut the device down when not in use.
But, 'durrh' just occurred how can i get my user to switch the device back on? Or should I be looking at some 'sleep' functionality rather than looking to completely power off?