Tip: Detect user idleness

<<You can use framework.system.user.idle to detect whether the user is idle and might be away from the computer. When the user is idle, you can choose to skip operations such as HTTP requests or audio playback: if (framework.system.user.idle) { // User is idle/away. No need to re-retrieve th…>>   (more…)

See original post by Chris Gilmer