projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f62a4b2
)
[NTOSKRNL] Revert f71588ff as it seems to break the tests
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 20 Apr 2019 21:26:57 +0000
(23:26 +0200)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 20 Apr 2019 21:26:57 +0000
(23:26 +0200)
ntoskrnl/po/power.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/po/power.c
b/ntoskrnl/po/power.c
index
1ddf147
..
121a41c
100644
(file)
--- a/
ntoskrnl/po/power.c
+++ b/
ntoskrnl/po/power.c
@@
-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;
}