diff options
author | Ramakrishna Pallala | 2012-08-23 03:20:21 +0200 |
---|---|---|
committer | Anton Vorontsov | 2012-08-23 04:56:37 +0200 |
commit | b1b56872be3b36af19313bf0953b1361c36b4a98 (patch) | |
tree | 2e6fde9da5401cad5e367a3ac95587eb25a01908 /Documentation/power | |
parent | ds2781_battery: Replace call to kzalloc with devm_kzalloc (diff) | |
download | kernel-qcow2-linux-b1b56872be3b36af19313bf0953b1361c36b4a98.tar.gz kernel-qcow2-linux-b1b56872be3b36af19313bf0953b1361c36b4a98.tar.xz kernel-qcow2-linux-b1b56872be3b36af19313bf0953b1361c36b4a98.zip |
power_supply: Add new power supply AUTHENTIC property
It is possible that users can use non-standard chargers or use invalid
batteries especially with mobile devices.
This patch adds a new power supply property called 'AUTHENTIC' to
indicate this to the user(user space).
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation/power')
-rw-r--r-- | Documentation/power/power_supply_class.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/power/power_supply_class.txt b/Documentation/power/power_supply_class.txt index 2f0ddc15b5ac..48badec1cec3 100644 --- a/Documentation/power/power_supply_class.txt +++ b/Documentation/power/power_supply_class.txt @@ -81,6 +81,9 @@ This defines trickle and fast charges. For batteries that are already charged or discharging, 'n/a' can be displayed (or 'unknown', if the status is not known). +AUTHENTIC - indicates the power supply (battery or charger) connected +to the platform is authentic(1) or non authentic(0). + HEALTH - represents health of the battery, values corresponds to POWER_SUPPLY_HEALTH_*, defined in battery.h. |