From dcfb172704f3afb68a30425029ec834be2883274 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 8 Jun 2024 13:22:19 -0400 Subject: More content porting, on-going markdown changes for lowdown support --- build/battery/index.html | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) (limited to 'build/battery/index.html') diff --git a/build/battery/index.html b/build/battery/index.html index e8ab3ab..981c302 100644 --- a/build/battery/index.html +++ b/build/battery/index.html @@ -1,36 +1,49 @@ - + Improving Laptop Battery Performance on OpenBSD - - + + +
-

Improving Laptop Battery Performance on OpenBSD

+

Improving Laptop Battery Performance on OpenBSD

+

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.

-

Our New Best Friend: ampd

-

I won't go into great detail about ampd here - that's what the incredible documentation is for. You'll want to make sure to start it before trying to configure it:

+ +

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.

+ +

Our New Best Friend: ampd

+ +

I won’t go into great detail about ampd here - that’s what the incredible documentation is for. You’ll want to make sure to start it before trying to configure it:

+
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
 
+

To make these changes permanent on boot:

+
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.

-

Small Performance Wins

+ +

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.

+ +

Small Performance Wins

+
    -
  1. Reduce your screen's brightness (xbacklight -set 50)
  2. +
  3. Reduce your screen’s brightness (xbacklight -set 50)
  4. Use a lightweight window manager instead of a beefer desktop environment
  5. Enable battery saving options in your system BIOS (if available)
  6. Disable the fingerprint scanner and bluetooth in your system BIOS (if available)
  7. -- cgit v1.2.3-54-g00ecf