Skip to content

Commit dfb2586

Browse files
seem-lessseem-less
andauthored
Edits for PREFERRED_BATTERY and ppd (#141)
* [advanced-configuration] set DMS_PREFERRED_BATTERY * [cli-doc/keybinds] tlp-pd also works --------- Co-authored-by: seem-less <contact@waseem-g.com>
1 parent 74b47b3 commit dfb2586

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/dankmaterialshell/advanced-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ DMS_DISABLE_POLKIT=1 dms run
188188

189189
### DMS_PREFERRED_BATTERY
190190

191-
Forces specific battery device when multiple batteries detected (e.g., dual-battery laptops). Provide the UPower device name/path.
191+
Forces specific battery device when multiple batteries detected (e.g., dual-battery laptops). Provide the UPower device name/path. May need to be set if DMS doesn't detect your battery and shows no stats in the UI.
192192

193193
```bash
194194
DMS_PREFERRED_BATTERY=/org/freedesktop/UPower/devices/battery_BAT0 dms run

docs/dankmaterialshell/cli-doctor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Required to persist user profile changes, such as profile picture.
163163

164164
Required to manage power profiles. (e.g. performance, balanced, power-saver)
165165

166-
Either `power-profiles-daemon` or `tuned` together with `tuned-ppd` satisfies this check. `tuned-ppd` exposes the same D-Bus interface that `power-profiles-daemon` does, so DMS works with either. The two conflict, so install only one of them.
166+
Either `power-profiles-daemon`, `tuned` together with `tuned-ppd` or `tlp` together with `tlp-pd` satisfies this check. `tuned-ppd` and `tlp-pd` exposes the same D-Bus interface that `power-profiles-daemon` does, so DMS works with them too. `power-profiles-daemon`, `tuned` and `tlp` conflict, so install only one of them.
167167

168168
### cups-pk-helper
169169

docs/dankmaterialshell/keybinds-ipc.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ service back.
246246

247247
Power profile control via the PowerProfiles D-Bus interface. Changes stay in sync with DMS UI and trigger the power profile OSD when enabled in Settings → OSD.
248248

249-
Requires either `power-profiles-daemon`, or `tuned` with `tuned-ppd`, to be installed and running. Works on all compositors.
249+
Requires either `power-profiles-daemon`, `tuned` with `tuned-ppd` or `tlp` with `tlp-pd`, to be installed and running. Works on all compositors.
250250

251251
| Function | Description | Parameters |
252252
| --- | --- | --- |
@@ -278,7 +278,7 @@ dms ipc call powerprofile toggle
278278
**Notes:**
279279
- `list` returns only profiles available on your system (performance is omitted when unsupported)
280280
- `status` returns the current slug: `power-saver`, `balanced`, or `performance`
281-
- Returns `ERROR: power-profiles-daemon not available` when no PowerProfiles daemon (`power-profiles-daemon` or `tuned-ppd`) is running
281+
- Returns `ERROR: power-profiles-daemon not available` when no PowerProfiles daemon (`power-profiles-daemon`, `tuned-ppd` or `tlp-pd`) is running
282282
- Returns `ERROR: Failed to set power profile` if the profile change could not be applied
283283

284284
## Wallpaper & Profile

0 commit comments

Comments
 (0)