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 12
    • Merge requests 12
  • 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
  • !22

Use charge_control_*_threshold instead of charge_*_threshold

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ian Scott requested to merge idscott/powerdevil:charging-threshold into master Sep 21, 2020
  • Overview 27
  • Commits 1
  • Pipelines 0
  • Changes 1

This is now documented as the standard Linux kernel API for charging thresholds: https://github.com/torvalds/linux/blob/master/Documentation/ABI/testing/sysfs-class-power

This was added to the thinkpad_acpi driver in https://github.com/torvalds/linux/commit/e33929537b76486d2ed576a0d9ce3ebff51bf851

This will break the feature on Thinkpads with a kernel older than that, but will also work with other drivers that support charging thresholds.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: charging-threshold