Skip to content

Logitech G535: Battery reports 50% #273

Description

@19Gerhard85

Description

$ headsetcontrol -b
Found Logitech G535!
Battery: 50%
Success!

On which OS does the problem happen?

Linux

Activity

  1. AXeL-dev commented on Mar 22, 2023

    @AXeL-dev

    I'm facing the same issue, any news? @Moonlight-Angel @Sapd

    battery-level

  2. AXeL-dev commented on Mar 22, 2023

    @AXeL-dev

    @19Gerhard85 I was able to fix the issue by reverting the changes in this commit: 5a09dc3.

  3. Sapd commented on Mar 22, 2023

    @Sapd
    Owner

    @19Gerhard85 I was able to fix the issue by reverting the changes in this commit: 5a09dc3.

    Best way is to look up why this happens. I would suggest you adding this around 170:

    printf("voltage %u - result: %d\n", voltage, spline_battery_level(battery_estimate_percentages, battery_estimate_voltages, battery_estimate_size, voltage));
    

    Edit: There is a bug in the spline function

  4. added a commit that references this issue on May 1, 2023
    24c4f51
  5. added a commit that references this issue on May 1, 2023
    afcaa04
  6. added a commit that references this issue on May 31, 2024
    6ba29ea
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions