.. _openlmi-scripts-powermanagement-python:

Power Management Script python reference
========================================

Main interface functions wrapped with ``lmi`` commands are:

    * :py:func:`~lmi.scripts.powermanagement.list_power_states`
    * :py:func:`~lmi.scripts.powermanagement.switch_power_state`

All of these accept :abbr:`ns (namespace)` object as the first argument.
It is an instance of :py:class:`lmi.shell.LMINamespace`.

Power Management Module API
---------------------------
.. automodule:: lmi.scripts.powermanagement
    :members:

    
