mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 12:44:20 +00:00
26 lines
530 B
Plaintext
26 lines
530 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# bclm
|
|
|
|
> Set a custom charge limit on MacBooks.
|
|
> More information: <https://github.com/zackelia/bclme>.
|
|
|
|
- Set the charge limit to about 80% (for Intel machines, the battery charge level may be slightly lower than the set value):
|
|
|
|
`sudo bclm write {{77}}`
|
|
|
|
- Read the current charge limit:
|
|
|
|
`bclm read`
|
|
|
|
- Keep the charge limit after rebooting/smc reset:
|
|
|
|
`sudo bclm persist`
|
|
|
|
- Remove the persistent charge limit:
|
|
|
|
`sudo bclm unpersist`
|