diff options
Diffstat (limited to 'posts/battery.md')
-rw-r--r-- | posts/battery.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/posts/battery.md b/posts/battery.md index dca86c4..83caf2b 100644 --- a/posts/battery.md +++ b/posts/battery.md @@ -8,21 +8,21 @@ It is no secret that OpenBSD has poor battery performance on laptops. Although n I won't go into great detail about `ampd` here - that's what the incredible [documentation is for](https://man.openbsd.org/apmd). You'll want to make sure to start it before trying to configure it: -~~~sh +```sh doas rcctl start apmd -~~~ +``` If already running in a live session, you can default to `-A` (auto) but I suggest setting cpu performance to low: -~~~sh +```sh apm -L -~~~ +``` To make these changes permanent on boot: -~~~sh +```sh doas rcctl set apmd flags -L -~~~ +``` Optimizating battery life via `ampd` will have the most noticable impact but you can improve things even further by implementing some extra "small" performance wins. |