Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lvs1974 authored Oct 3, 2021
1 parent ed5ad67 commit e00e978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ IOHibernateRTCVariables from the system registry and writes it to NVRAM.
Next 4 bits are used to specify minimal capacity percent remaining value when hibernation will be forced.
Can be used together with WhenBatteryIsAtWarnLevel or WhenBatteryAtCriticalLevel, when IOPMPowerSource cannot detect warning or critical battery level
- `RemainCapacityBit1` = 256 (1)
- `RemainCapacityBit4` = 512 (2)
- `RemainCapacityBit2` = 512 (2)
- `RemainCapacityBit3` = 1024 (4)
- `RemainCapacityBit4` = 2048 (8)

Specified minimal capacity will be also used to put macOS into sleep/hibernate state (when the remaining capacity is less than it).
4 bits can be used to specify the battery levels from 1 to 15. Bits 1-4 are 1,2,4,8 in percentage, so for example if you want to have
10 percent level to be the point where the laptop goes into sleep/hibernation, you would add Bits RemainCapacityBit4 and RemainCapacityBit4 which would be 2048+512=2560 (8+2=10 percent) in hbfx-ahbm. Bit EnableAutoHibernation defines a final state (sleep or hibernate).
4 bits can be used to specify the battery levels from 1 to 15. Bits RemainCapacityBit1-RemainCapacityBit4 are 1,2,4,8 in percentage, so for example if you want to have
10 percent level to be the point where the laptop goes into sleep/hibernation, you would add Bits RemainCapacityBit4 and RemainCapacityBit2 which would be 2048+512=2560 (8+2=10 percent) in hbfx-ahbm. Bit EnableAutoHibernation defines a final state (sleep or hibernate).

#### NVRAM options
The following options can be stored in NVRAM (GUID = E09B9297-7928-4440-9AAB-D1F8536FBF0A), they can be used instead of respective boot-args
Expand Down

0 comments on commit e00e978

Please sign in to comment.