diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-14 12:26:35 -0400 |
commit | e8876fb866c3d89c432dcd04634e9bd2ced18022 (patch) | |
tree | 2c9a51310bd9bd8041e5d7bbb85bbfd010e2b514 /posts/battery.md | |
parent | c803e304d959f4926a55068d2b11f64bf4c95607 (diff) |
Switch things back to smu instead of lowdown
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. |