mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[NTOSKRNL] Revert f71588ff
as it seems to break the tests
This commit is contained in:
parent
f62a4b2015
commit
cfe54aa4b5
1 changed files with 2 additions and 1 deletions
|
@ -703,7 +703,8 @@ NtPowerInformation(IN POWER_INFORMATION_LEVEL PowerInformationLevel,
|
|||
{
|
||||
/* Just zero the struct (and thus set BatteryState->BatteryPresent = FALSE) */
|
||||
RtlZeroMemory(BatteryState, sizeof(SYSTEM_BATTERY_STATE));
|
||||
BatteryState->AcOnLine = TRUE;
|
||||
BatteryState->EstimatedTime = MAXULONG;
|
||||
// BatteryState->AcOnLine = TRUE;
|
||||
|
||||
Status = STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue