-
由 Matthew Garrett 提交于
Certain drivers benefit from knowing whether the system is on ac or battery, for instance when determining which backlight registers to read. This adds a simple call to determine whether there's an online power supply other than any batteries. Signed-off-by: NMatthew Garrett <mjg@redhat.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
942ed161