From eaea2b76120fdeeb1a345b080ebbde66e5f932e4 Mon Sep 17 00:00:00 2001 From: Joel Mathew Thomas <90510078+joelmathewthomas@users.noreply.github.com> Date: Thu, 8 Aug 2024 00:47:35 +0530 Subject: [PATCH] fix: add wireplumber custom profile Add a custom wireplumber custom profile to fix an issue where pipewire keeps the /dev/video0 fd open even though it's not being used , causing battery loss. This is just a workaround for now, until it's fixed. --- .../wireplumber/wireplumber.conf.d/10-disable-camera.conf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .config/wireplumber/wireplumber.conf.d/10-disable-camera.conf diff --git a/.config/wireplumber/wireplumber.conf.d/10-disable-camera.conf b/.config/wireplumber/wireplumber.conf.d/10-disable-camera.conf new file mode 100644 index 0000000..1a1765e --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/10-disable-camera.conf @@ -0,0 +1,5 @@ +wireplumber.profiles = { + main = { + monitor.libcamera=disabled + } +}