Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PowerD modes

    Development
    1
    2
    1.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      feadin
      last edited by

      I was thinking on adding a select box to be able to choose the powerd mode, but reading the man for powerd it says there are three modes, but then shows four modes (adp, hadp, min and max). Is that just an outdated section of the manual or adp and hadp are actually the same thing?

      1 Reply Last reply Reply Quote 0
      • F
        feadin
        last edited by

        Ok this is what I did so far. Not sure if it's OK or I'm missing something, so any comment is welcome.
        For now I assume the adp and hadp modes are different, and I'm using hadp as default since it's the default for FreeBSD when not using battery according to the man page. Can't think of a pfSense installation using battery so I believe separated options for AC or battery are not really needed.

        https://github.com/vizvayu/pfsense/commit/53c210dd6451f1bb82347e37c89652f7818122aa

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.