platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: lg-laptop and WM_BATT_LIMIT
       [not found] <CANEs7EkTrP2MygqhPAe=n5K=6inygWFkEpp3Y1_TTgDjSYT16w@mail.gmail.com>
@ 2021-04-05 11:42 ` Andy Shevchenko
  0 siblings, 0 replies; only message in thread
From: Andy Shevchenko @ 2021-04-05 11:42 UTC (permalink / raw)
  To: Christian Wehrfritz; +Cc: matan, Hans de Goede, Mark Gross, platform-driver-x86

+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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-05 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANEs7EkTrP2MygqhPAe=n5K=6inygWFkEpp3Y1_TTgDjSYT16w@mail.gmail.com>
2021-04-05 11:42 ` lg-laptop and WM_BATT_LIMIT Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).