diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-01-07 19:28:17 +0300 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-01-31 16:31:51 +0300 |
commit | 6501f728c56f831626d52b236023e556bca37f51 (patch) | |
tree | 323e1764a2117b861a150eb0bb328e6dd6ebbf59 /include/linux/power_supply.h | |
parent | 0b9536c957095eb1497828aa51b34ac695f67eae (diff) | |
download | linux-6501f728c56f831626d52b236023e556bca37f51.tar.xz |
power_supply: Add new LED trigger charging-blink-solid-full
Add new trigger to power_supply LEDs. It will blink when battery is
charging, and stay solid when battery is charged. It's usefull to
indicate battery state when there's only one LED available.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r-- | include/linux/power_supply.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index e3419fc5541e..20f23fef63cc 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -173,6 +173,8 @@ struct power_supply { char *full_trig_name; struct led_trigger *online_trig; char *online_trig_name; + struct led_trigger *charging_blink_full_solid_trig; + char *charging_blink_full_solid_trig_name; #endif }; |