Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Settings Settings
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,039
    • Issues 1,039
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 63
    • Merge requests 63
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • SettingsSettings
  • Merge requests
  • !941

WIP: Show ENERGY STAR logo on compliant systems

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Benjamin Berg requested to merge benzea/energy-star into main Feb 01, 2021
  • Overview 16
  • Commits 1
  • Pipelines 1
  • Changes 5

For ENERGY STAR certification purposes, the ENERGY STAR logo must be shown, there are three ways to do so:

  • Sticker on the chassis
  • Show logo for 5 seconds at boot
  • Show logo in power settings panel

The first two options are both undesirable (expensive sticker, longer boot). As such, it makes sense to add support for this in g-c-c.

NOTE: I am marking this as WIP, because we might still want to change the exact name. In general, it will most likely be a variable set on the DMI device, but the exact details are still up to discussion. We could, e.g.:

  • Have one array for all certifications.
  • Define whether we want to include metadata in the udev rule (not relevant for g-c-c).

A corresponding rule could look like (hardware vendor configured after certification!):

SUBSYSTEM=="dmi", DEVPATH=="/devices/virtual/dmi/id", ENV{MODALIAS}=="*:pvrThinkPadX1Carbon7th:*", ENV{ENERGY_STAR_CERTIFIED}="8.0"

Screenshot_from_2021-02-01_17-33-51 (With tooltip: This device is ENERGY STAR Certified.)

CC: @aday, @hadess, @nitin_exclusive, @banther

Edited Jul 30, 2021 by Robert Ancell
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: benzea/energy-star