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>
This commit is contained in:
Kenneth Chan 2020-08-22 02:14:32 +08:00 • committed by Hans de Goede
commit 468f96bfa3