Messages in this thread Patch in this message | | | From | Jonghwa Lee <> | Subject | [PATCH 2/3] power: core: Add variables related temperature to power_supply_info. | Date | Tue, 07 Oct 2014 19:58:37 +0900 |
| |
To represent thermal limitation of power_supply, it adds 'temperature_max, temperature_min' to power_supply_info structure.
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> --- include/linux/power_supply.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 99306aa..0c8588c 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -241,6 +241,8 @@ struct power_supply_info { int charge_empty_design; int energy_full_design; int energy_empty_design; + int temperature_max; + int temperature_min; int use_for_apm; }; -- 1.7.9.5
| |