commit | 967145a030a86cba29fe090acd2b55b56568359e | [log] [tgz] |
---|---|---|
author | Marco Chiappero <marco@absence.it> | Sat May 19 22:35:50 2012 +0900 |
committer | Matthew Garrett <mjg@redhat.com> | Thu May 31 14:29:35 2012 -0400 |
tree | 953d210a7f7db723268b2b0afaf6131d5d43aea2 | |
parent | ae188715ac3215f33ea6a8b829529225bf67deaa [diff] |
sony-laptop: support battery care functions Allows limiting the maximum battery charge level to a selectable value (100%, 80% and 50%). [malattia@linux.it: group function specific variables in a struct, use kstrtoul. Allow 0 to 100 values into sysfs files rounding to the actual limit.] Signed-off-by: Marco Chiappero <marco@absence.it> Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Matthew Garrett <mjg@redhat.com>