battery: Use settings_daemon for display brightness

This shares a subscription with cosmic-osd, avoiding some duplication.
It's also important that things like selection of the display brightness
device are done consistency, and handling this in cosmic-settings-daemon
is one way to ensure consistency.
This commit is contained in:
Ian Douglas Scott 2024-06-28 13:52:18 -07:00 • committed by Ian Douglas Scott
parent 78b734afc2
commit 4b83609ee8
4 changed files with 76 additions and 223 deletions

View file

@ -1,8 +1,6 @@
// Copyright 2023 System76 <info@system76.com>
// SPDX-License-Identifier: GPL-3.0-only
#[rustfmt::skip]
mod backlight;
mod app;
mod backend;
mod config;