From an Android service, how to determine whether screen WAS on or off
<p>From an Android service (for example at onCreate time) how can I determine whether screen was on or off before receiving the first broadcast screen intent (that may never be triggered if screen was already off and user does not use its phone) ?</p>
