Skip to content

Some boards have a sing capacitor problem with mode == IDLE #63

Description

@jcdutton

Hi,

I have read a comment that I think you put in the Embedded Controller source code.

"* Some boards have a sing capacitor problem with mode == IDLE. For such

  • boards, a host can specify EC_CHARGE_CONTROL_FLAG_NO_IDLE, which
  • makes the sustainer use DISCHARGE instead of IDLE. This is done by
  • setting lower != upper in V2, which doesn't support the flag."

Please can you clarify this statement a little:

  1. "Some boards", please can you tell me which boards.
  2. "sing capacity problem". What does that mean, what effect does it have?
    Please can you describe what happens if one sets IDLE on those main-boards?

I have been trying to make some of my own changes to the EC source code, in order to improve the battery charging behavior and avoid mini-cycles of charge/discharge.
You can see my changes so far here:
https://github.com/jcdutton/EmbeddedController (charge controller changes)
https://github.com/jcdutton/zephyr (general improvements to port80
handling)

I have a FW16 AMD, that does not appear to have the IDLE problem you mentioned above.
So, I am curious which boards have the problem?

Activity

  1. LeoCX-Tsai commented on Apr 23, 2025

    @LeoCX-Tsai

    Hi jcdutton,

    About your questions, I cherry-picked those changes from Google Gerrit.
    but I am unsure what is happening on the specific board because I don't have access to check the issue.
    (maybe the board is Chromebook Dedede series)
    (at framework, if we set the charger mode to Idle, it should stop charging or discharging the battery)

  2. jcdutton commented on Apr 23, 2025

    @jcdutton
    Author

    Ok, so I can safely assume that all FW13 Intel and AMD, and FW16 AMD have a working IDLE charger mode, and the "* Some boards have a sing capacitor problem with mode == IDLE" does not apply to FW laptops.

  3. JohnAZoidberg commented on Apr 23, 2025

    @JohnAZoidberg
    Member

    Yes, that comment is not from us but Google: d4f844e
    We have not seen the issue they mention on our systems.

  4. jcdutton commented on Apr 23, 2025

    @jcdutton
    Author

    I have done some changes to the EC source code for lotus.
    You can find them here:
    https://github.com/jcdutton/EmbeddedController/commits/fwk-lotus-azalea-19573-jcd2/

    I have also updated an "ectool" that controls and views its new functions.
    https://github.com/jcdutton/ectool/commits/main/

    I think it does a good job of fixing various battery charging related issue.
    Please consider including some or all of them into the official FW 16 EC firmware.

  5. moschroe commented on Feb 3, 2026

    @moschroe

    I now have a FW16 myself and wanted to document for posterity: PWM noise ("singing caps"/"coil whine") did occur for me, but only when plugging a TC-66 USB C tester between the FW 240W PSU and the notebook.

    The tester degrades PD to 100W and it will draw 100W until charged, but the moment battery sustainer switches to "idle", I have a loud noise coming from the chassis. Otherwise, the notebook has been dead-silent with any charger I used.

    So, if anyone experiences noise, cross-check with a different PSU (or maybe even cable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions