All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: platform-driver-x86@vger.kernel.org
Subject: [Bug 216176] New: ideapad-laptop doesn't expose rapid charge
Date: Sun, 26 Jun 2022 15:56:42 +0000	[thread overview]
Message-ID: <bug-216176-215701@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=216176

            Bug ID: 216176
           Summary: ideapad-laptop doesn't expose rapid charge
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.18.5
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Platform_x86
          Assignee: drivers_platform_x86@kernel-bugs.osdl.org
          Reporter: tinozzo123@tutanota.com
        Regression: No

Lenovo IdeaPad laptops support a feature named "Rapid Charge", normally usable
on Windows via Lenovo Vantage. However, this feature isn't exposed on
idepad-laptop.c.
According to the Arch Wiki, this feature is still usable via ACPI commands:

To enable:
# echo '\_SB.PCI0.LPC0.EC0.VPC0.SBMC 0x07' > /proc/acpi/call

To disable:
# echo '\_SB.PCI0.LPC0.EC0.VPC0.SBMC 0x08' > /proc/acpi/call

To check, the wiki uses different commands for different laptops. Three of them
are (on all of them, 0x0 stands for off and 0x1 stands for on):
Lenovo IdeaPad 5 14are05
# echo '\_SB.PCI0.LPC0.EC0.FCGM' | tee /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

Lenovo IdeaPad 5 15are05
# echo '\_SB.PCI0.LPC0.EC0.QCHO' > /proc/acpi/call
# cat /proc/acpi/call; printf '\n'

Lenovo IdeaPad Flex 5 14alc05
# echo '\_SB.PCI0.LPC0.EC0.QKCM' | tee /proc/acpi/call
# cat /proc/acpi/call | cut -d '' -f1

Small note, on Lenovo Vantage enabling Rapid Charge disables Battery
Conservation automatically, and enabling Battery Conservation disables Rapid
Charge automatically. The ACPI commands don't have this limitation.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2022-06-26 15:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26 15:56 bugzilla-daemon [this message]
2022-06-26 19:34 ` [Bug 216176] ideapad-laptop doesn't expose rapid charge bugzilla-daemon
2022-06-26 19:44 ` bugzilla-daemon
2022-06-27 13:49 ` bugzilla-daemon
2022-06-27 19:47 ` bugzilla-daemon
2022-06-29 19:49 ` bugzilla-daemon
2022-06-29 20:04 ` bugzilla-daemon
2022-06-29 21:10 ` bugzilla-daemon
2022-09-19  9:07 ` bugzilla-daemon
2023-07-20 21:16 ` bugzilla-daemon
2024-02-06 14:34 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-216176-215701@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.