mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-28 12:55:28 +02:00
20 lines
439 B
Markdown
20 lines
439 B
Markdown
# bclm
|
|
|
|
> Set a custom charge limit on MacBooks.
|
|
> More information: <https://github.com/zackelia/bclm>.
|
|
|
|
- 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`
|