1. 09 Dec, 2011 1 commit
    • Jeremy Fitzhardinge's avatar
      power_supply: add SCOPE attribute to power supplies · 25a0bc2d
      Jeremy Fitzhardinge authored
      This adds a "scope" attribute to a power_supply, which indicates how
      much of the system it powers.  It appears in sysfs as "scope" or in
      the uevent file as POWER_SUPPLY_SCOPE=.  There are presently three
      possible values:
      	Unknown - unknown power topology
      	System - the power supply powers the whole system
      	Device - it powers a specific device, or tree of devices
      
      A power supply which doesn't have a "scope" attribute should be assumed to
      have "System" scope.
      
      In general, usermode should assume that loss of all System-scoped power
      supplies will power off the whole system, but any single one is sufficient
      to power the system.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
      Cc: Richard Hughes <richard@hughsie.com>
      25a0bc2d
  2. 15 Nov, 2011 7 commits
  3. 14 Nov, 2011 7 commits
  4. 13 Nov, 2011 1 commit
  5. 12 Nov, 2011 17 commits
  6. 11 Nov, 2011 7 commits