PowerD modes



  • 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?



  • 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


Log in to reply