Not getting the correct Shutdown time of Chromebook on android app.

20 views
Skip to first unread message

Anup Maurya

unread,
Oct 17, 2023, 11:50:56 PM10/17/23
to ChromiumOS Discussion
Hi,

I am trying to develop an app which keep track of Chromebook events such as Shutdown, Start Up, Screen on & Screen Off time.

I am able to get all the events time proper except Shutdown. 
Shutdown time getting captured but wrong. (e.g., I shutdown my Chromebook at 12:30 PM but I am getting shutdown time as 12:20 or 12:23) means some delay in shutdown time.

I am Using UsageEvents to capture the events.

Note: Given All the Required Permission to capture events on Chromebook. And App is properly working on android devices.

Code Snippet below:

thread-239554856-6255548110315503191.png
Reply all
Reply to author
Forward
0 new messages