Android code example for monitoring power changes