Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Solid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 10
    • Merge requests 10
  • 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
  • FrameworksFrameworks
  • Solid
  • Merge requests
  • !43

upower backend: handle pending charge and pending discharge states

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Méven Car requested to merge meven/solid:upower-pending-states into master Jun 26, 2021
  • Overview 2
  • Commits 1
  • Pipelines 2
  • Changes 1

CCBUG: 422111

We interpreted pending charge and pending discharge states as NoCharge previously.

Now interpret them as Charging and Discharging respectively.

I guess Pending charge, means the battery was just plugged in but the battery has not changed yet. The documentation is quite lacking regarding this in https://upower.freedesktop.org/docs/Device.html

I have seen this used in upower client: https://github.com/berlam/awesome-upower-battery/blob/master/init.lua

Edited Jun 26, 2021 by Méven Car
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: upower-pending-states