Comment decoder l'evenement Kernel-Power 566 lors du reveil depuis la veille

Comment decoder l’evenement Kernel-Power 566 lors du reveil depuis la veille


Source : Super User [windows-11]

58 et 59 sont simplement des identifiants de session sequentiels qui commencent a 0 au demarrage.

Pour obtenir l’etat d’alimentation de ces sessions, consultez l’onglet Details.

+ System
- EventData
  BootId 47
  Reason 20
  PreviousSessionId 23
  PreviousSessionType 3
  PreviousSessionDurationInUs 122364356
  PreviousEnergyCapacityAtStart 109
  PreviousFullEnergyCapacityAtStart 40855
  PreviousEnergyCapacityAtEnd 22361
  PreviousFullEnergyCapacityAtEnd 41181
  NextSessionId 24
  NextSessionType 1
  PowerStateAc true
  MonitorReason 20

PreviousSessionType 3 vers NextSessionType 1 signifie le reveil depuis l’etat de veille 2.

2: kd> dt _SYSTEM_POWER_STATE
nt!_SYSTEM_POWER_STATE
   PowerSystemUnspecified = 0n0
   PowerSystemWorking = 0n1
   PowerSystemSleeping1 = 0n2
   PowerSystemSleeping2 = 0n3
   PowerSystemSleeping3 = 0n4
   PowerSystemHibernate = 0n5
   PowerSystemShutdown = 0n6
   PowerSystemMaximum = 0n7

La raison 32 semble etre MonitorRequestReasonUserInputMouse. Windows 11 affiche maintenant le nom de la raison dans l’onglet General, 20 etant “Reason SxTransition”.