Thanks @DTS Engineer Kevin Elliott for your reply
My larger goal here is at the lock screen I want to detect what events occured to reach this lock screen,
is it logout,lock,restart or shutdown?
Is there any kernel level file or any other changes I can track from daemon to get to know this
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: