Skip to content

Sleep is not properly tracked #2

Description

@Joly0

Hey, i noticed that on my work laptop laptop going to sleep is not properly tracked.

When i looked into the code i saw these event codes that indicate the different states:

$startEventIds = @(12,6005,1,107)   # boot/wake/resume
$endEventIds   = @(13,6006,42,1074) # shutdown/sleep/hibernate

i looked into the event viewer and noticed, that there are the event ids 506 and 507, where 506 is:

The system switches to modern standby mode. 

Reason: Idle timeout.

and 507 is:

The system exits modern standby mode. 

Reason: Input Keyboard.

I cannot find much about them when i searched online, but i still think they might be worth adding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions