Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • PowerDevil PowerDevil
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • PowerDevilPowerDevil
  • Merge requests
  • !5

Add setting for charge threshold

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kai Uwe Broulik requested to merge work/chargelimit into master May 28, 2020
  • Overview 28
  • Commits 1
  • Pipelines 0
  • Changes 11

On supported hardware, when using the device mostly on line power, this allows to stop charging the battery when it reaches a certain level as to not leave the battery fully charge for extended periods of time. It also allows to configure below which level the battery will then be charged again.

Unfortunately, UPower doesn't seem to be aware of this, so the device will just sit around the configured percentage, still claiming "charging".

The battery stop charging threshold is exposed on DBus so a hint coul be displayed in Battery monitor when a limit is configured.

Screenshot_20200528_121138

Only tested on my Thinkpad so far.

BUG: 417464 FIXED-IN: 5.20

Edited Jul 22, 2020 by Nate Graham
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/chargelimit