PopCurrentPowerState
VOID __stdcall PopCurrentPowerState(SYSTEM_BATTERY_STATE *PowerState){
_ETHREAD *CurrentThread;
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
--CurrentThread->Tcb.KernelApcDisable;
ExAcquirePushLockSharedEx((_EX_PUSH_LOCK *)&stru_140C23628 + 25, 0i64);
*(_OWORD *)&PowerState->AcOnLine = *(_OWORD *)((char *)&stru_140C23628 + 216);
*(_OWORD *)&PowerState->Rate = *(_OWORD *)((char *)&stru_140C23628 + 232);
PopReleaseRwLock((_POP_RW_LOCK *)((char *)&stru_140C23628 + 200));
}Referenced by:
PopCalculateCsSummary
PopCurrentPowerStatePrecise
PopDiagTraceControlCallback
PopEsEnterSleepShutdown
PopEsStartTelemetry
PopEsUpdateState
PopTransitionTelemetryOsState
PopUpdateAcDcState