+Cc: mailing list and PDx86 maintainers On Sun, Apr 04, 2021 at 10:34:09PM +0200, Christian Wehrfritz wrote: > Hi Matan and Andy, > > I have a recent LG Gram 17 and the lg-laptop module works fine, except for > the battery limit, that I'd like to set to 80. > > I've been using Linux for a long time (0.97) and I have some experience in > C, but not in kernel hacking. > > In the module source, I noticed that you also had a different address for > the battery limit (WMBB_BATT_LIMIT). I tried that, but setting this doesn't > limit the charging and reading it results in an IO error - apparently the > returned value is not an integer. > > Is there anything else that I could try? I still have the windows > partition, so I could set it in the LG software. And then possibly find out > which address has changed? How do you approach such a problem? I'm wondering if it uses WMI for that. In any case, I have Cc'ed this to mailing list, hope there are people who may advise something useful. -- With Best Regards, Andy Shevchenko