summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/laptops
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2026-05-13 01:21:41 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-05-19 16:52:49 +0300
commit26cbe119f99c86dcb4a0136d2bc73c0c716d80e4 (patch)
tree058c9bbd81fce18c28ba51db10640568d4e30d12 /Documentation/admin-guide/laptops
parentfb4b67c44557cb4cbb15900083d4e1af22320339 (diff)
downloadlinux-next-26cbe119f99c86dcb4a0136d2bc73c0c716d80e4.tar.gz
linux-next-26cbe119f99c86dcb4a0136d2bc73c0c716d80e4.zip
platform/x86: uniwill-laptop: Do not enable the charging limit even when forced
It seems that on some older models (~2020) the battery charging limit can permanently damage the battery. Prevent users from enabling this feature thru the "force" module parameter to avoid causing permanent hardware damage on such devices. Fixes: d050479693bb ("platform/x86: Add Uniwill laptop driver") Link: https://www.reddit.com/r/XMG_gg/comments/ld9yyf/battery_limit_hidden_function_discovered_on/ Reviewed-by: Werner Sembach <wse@tuxedocomputers.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20260512232145.329260-5-W_Armin@gmx.de Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'Documentation/admin-guide/laptops')
-rw-r--r--Documentation/admin-guide/laptops/uniwill-laptop.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/admin-guide/laptops/uniwill-laptop.rst b/Documentation/admin-guide/laptops/uniwill-laptop.rst
index 561334865feb..1f3ca84c7d88 100644
--- a/Documentation/admin-guide/laptops/uniwill-laptop.rst
+++ b/Documentation/admin-guide/laptops/uniwill-laptop.rst
@@ -43,6 +43,11 @@ Support for changing the platform performance mode is currently not implemented.
Battery Charging Control
------------------------
+.. warning:: Some devices do not properly implement the charging threshold interface. Forcing
+ the driver to enable access to said interface on such devices might damage the
+ battery [1]_. Because of this the driver will not enable said feature even when
+ using the ``force`` module parameter.
+
The ``uniwill-laptop`` driver supports controlling the battery charge limit. This happens over
the standard ``charge_control_end_threshold`` power supply sysfs attribute. All values
between 1 and 100 percent are supported.
@@ -70,3 +75,8 @@ The ``uniwill-laptop`` driver allows to set the configurable TGP for devices wit
allow it.
See Documentation/ABI/testing/sysfs-driver-uniwill-laptop for details.
+
+References
+==========
+
+.. [1] https://www.reddit.com/r/XMG_gg/comments/ld9yyf/battery_limit_hidden_function_discovered_on/