Results 1 to 8 of 8

Thread: Charge (plug) /uncharge (unplug) not detected instantly

  1. #1
    Join Date
    Oct 2015
    Beans
    8

    Charge (plug) /uncharge (unplug) not detected instantly

    Hi friends, I installed Ubuntu 20.04.2 LTS on my Lenovo Ideapad S145-15IIL and I got everything working well except the fact that once I plug in the ac adapter to charge the laptop, it's not immediately recognized but there's a delay of 30/40 seconds. The same if I unplug it: the icon of the battery remains "on charging status" for 1 minute too until changing to normal status.
    How can be this be possibile? Anyway to fix this behiavour?
    Thanks.
    Last edited by paolo18; March 3rd, 2021 at 09:17 PM.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    3,971
    Distro
    Ubuntu

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    Update the firmware (UEFI) before anything else.

  3. #3
    Join Date
    Oct 2015
    Beans
    8

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    Quote Originally Posted by CelticWarrior View Post
    Update the firmware (UEFI) before anything else.
    Do you mean BIOS update?

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    3,971
    Distro
    Ubuntu

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    No, I meant UEFI update. BIOS isn't used in (almost) any new computer from ~2010 or newer. Unfortunately many manufacturers and users insist in using the now wrong name "BIOS" for the motherboard's firmware.

  5. #5
    Join Date
    Oct 2015
    Beans
    8

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    Quote Originally Posted by CelticWarrior View Post
    No, I meant UEFI update. BIOS isn't used in (almost) any new computer from ~2010 or newer. Unfortunately many manufacturers and users insist in using the now wrong name "BIOS" for the motherboard's firmware.
    My firmware is still updated to the lastest version...

  6. #6
    Join Date
    May 2013
    Location
    Galiza
    Beans
    3,971
    Distro
    Ubuntu

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    Quote Originally Posted by paolo18 View Post
    My firmware is still updated to the lastest version...
    Great, so there's nothing else to do, for the moment. This may or may not be addressed in a future UEFI update. Probably not because it isn't really a problem. Maybe an annoyance but definitely not a problem, all laptops have some delay in detecting the charger.

  7. #7
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    A suggestion that is not based on any experience with a UEFI motherboard. Enter the UEFI settings utility and look for a section on the battery charge state. Then see how long the motherboard sensors take to detect the charger being plugged in and out.

    It is my guess that the operating system is in some way reading the motherboard sensors through the UEFI settings utility rather than accessing the hardware sensors directly.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  8. #8
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,775
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Charge (plug) /uncharge (unplug) not detected instantly

    What does /sys say about the status of your power? This may be a bit hardware dependent, but on my laptop I can see it at
    Code:
    cat /sys/class/power_supply/AC/online
    If it returns 1, it's plugged in, if 0, it's not. Maybe it's only your GUI that's a bit sluggish.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •