diff options
author | bt <bt@web> | 2023-12-12 14:37:04 -0500 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2023-12-12 14:37:04 -0500 |
commit | 645b501ffbcdc32ec490ebcdcc7e4799622bff13 (patch) | |
tree | 1b21094c977dff09d88c2af38d09ae32c056c191 | |
parent | 2b5c257a0c550ea98b6013e8d6b8d0e34ef28c8d (diff) |
-rw-r--r-- | posts/battery.md | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/posts/battery.md b/posts/battery.md index 4147ce8..4e6dfb6 100644 --- a/posts/battery.md +++ b/posts/battery.md @@ -1,6 +1,5 @@ -# Improving Laptop Battery Performance on OpenBSD - -2023-06-13 +[[!meta title="Improving Laptop Battery Performance on OpenBSD"]] +[[!meta date="2023-06-13"]] It is no secret that OpenBSD has poor battery performance on laptops. Although not as impressive as something like Alpine Linux or FreeBSD, you can tweak OpenBSD *just enough* to squeeze more life out of your machine's battery. @@ -8,21 +7,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: -``` -doas rcctl start apmd -``` + + 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: -``` -apm -L -``` + + apm -L + To make these changes permanent on boot: -``` -doas rcctl set apmd flags -L -``` + + 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. @@ -33,4 +32,4 @@ Optimizating battery life via `ampd` will have the most noticable impact but you 3. Enable battery saving options in your system BIOS (if available) 4. Disable the fingerprint scanner and bluetooth in your system BIOS (if available) 5. Use utilities such as `mpv` and `ffmpeg` for media consumption -6. Reduce the number of open applications at any given time
\ No newline at end of file +6. Reduce the number of open applications at any given time |