VintageNet.PowerManager.power_off
You're seeing just the callback
power_off
, go back to VintageNet.PowerManager module for more information.
Specs
power_off(state :: any()) :: {:ok, next_state :: any(), min_off_time :: non_neg_integer()}
Power off the hardware
This function should finish powering off the network interface hardware. Since this is called after the graceful power down should have completed, it should forcefully turn off the power to the hardware.
The implementation also returns a time that power must remain off. power_on/1
won't be called until that time expires.