Refines Inactivity API.
Introduces screen protection.