Skip to content

Refactor: min/max voltage settings to guesstimate battery charge remaining runtime - promote runtimecal as one common solution/pattern #2420

Open

Description

@jimklimov

Drivers like tripplite_usb have their own settings (e.g. 10% and 100% voltages) that would map well into runtimecal of other drivers.
Likewise, introduction of localcalculation with #1692 into riello drivers originally dealt with the idea that runtimecal should replace it.

Probably similar values appear in other drivers (these ones popped up during work on #2294).

Activity

  1. added
    refactor/fightwarnPR or issue proposal to improve code maintainability without functional changes, or to fix warnings
    portabilityWe want NUT to build and run everywhere possible
    on Apr 27, 2024
  2. added this to the NUT 2.9 milestone on Apr 27, 2024
  3. added
    impacts-release-2.8.2Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)
    on Apr 27, 2024
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

    enhancementimpacts-release-2.8.2Issues reported against NUT release 2.8.2 (maybe vanilla or with minor packaging tweaks)portabilityWe want NUT to build and run everywhere possiblerefactor/fightwarnPR or issue proposal to improve code maintainability without functional changes, or to fix warnings

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions