OSDN Git Service

platform/x86: panasonic-laptop: Add support for battery charging threshold (eco mode)
authorKenneth Chan <kenneth.t.chan@gmail.com>
Fri, 21 Aug 2020 18:14:32 +0000 (02:14 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 10 Nov 2020 13:49:50 +0000 (14:49 +0100)
commit468f96bfa3a045450f54c96e63db786b0b5fcab2
treecb9799fdec14cca8fb08c67f609c44512514020a
parented83c9171829ff16a08e29b58df6c11190a83740
platform/x86: panasonic-laptop: Add support for battery charging threshold (eco mode)

Add battery charging threshold (aka ECO mode) support.

NOTE: The state of ECO mode is persistent until the next POST cycle which
reset it to previous state.

Signed-off-by: Kenneth Chan <kenneth.t.chan@gmail.com>
Link: https://lore.kernel.org/r/20200821181433.17653-9-kenneth.t.chan@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/panasonic-laptop.c