Jeremy Fitzhardinge
25a0bc2dfc
power_supply: add SCOPE attribute to power supplies
...
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: Jeremy Fitzhardinge <jeremy@goop.org >
Cc: Richard Hughes <richard@hughsie.com >
2011-12-09 09:42:05 -08:00
..
2011-11-12 21:30:14 -02:00
2011-11-10 15:57:59 -05:00
2011-10-25 13:25:22 +02:00
2011-11-08 22:34:00 +01:00
2011-10-31 19:32:02 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:55:33 -08:00
2011-11-08 10:50:27 +00:00
2011-11-06 19:44:47 -08:00
2011-11-11 22:28:33 -05:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:43 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-15 14:45:50 -02:00
2011-11-13 17:09:55 -02:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-08 18:34:16 -08:00
2011-11-06 19:44:47 -08:00
2011-11-08 22:35:46 +01:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-08 17:11:57 +01:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:13 -04:00
2011-11-08 22:35:48 +01:00
2011-11-08 16:22:06 +11:00
2011-11-12 00:03:50 -02:00
2011-10-31 19:31:52 -04:00
2011-10-31 19:31:53 -04:00
2011-11-07 21:45:14 -05:00
2011-11-06 19:44:47 -08:00
2011-11-11 16:53:35 +01:00
2011-11-07 21:26:55 -05:00
2011-11-07 10:55:33 -08:00
2011-10-31 19:31:54 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:01 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-10 09:02:12 +01:00
2011-11-08 12:49:29 -08:00
2011-11-07 10:13:52 -08:00
2011-12-09 09:42:05 -08:00
2011-11-02 16:07:02 -07:00
2011-11-08 14:51:46 +11:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-11 23:58:58 -02:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:57 -04:00
2011-11-11 16:16:25 +09:00
2011-11-09 23:02:12 +08:00
2011-10-31 19:32:08 -04:00
2011-11-07 09:11:16 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:38:49 -05:00
2011-11-11 16:16:25 +09:00
2011-10-31 19:32:10 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:19 -04:00
2011-11-06 19:44:47 -08:00
2011-11-14 11:16:26 +10:30
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:13:34 -08:00
2011-10-31 19:32:01 -04:00
2011-10-26 15:39:02 +02:00
2011-10-26 15:39:02 +02:00