Metadata-Version: 1.1
Name: laptop-pm
Version: 0.1
Summary: Python powermanagement script for my linux laptop.
Home-page: http://bitbucket.org/igraltist/laptop-pm
Author: Jens Kasten
Author-email: jens@kasten-edv.de
License: GNU GPLv3
Description: laptop-pm
        =========
        
        A python power mangagment scripts for a laptop which running linux.
        
        
        Installation
        ------------
        
        visit `installing <https://bitbucket.org/igraltist/laptop-pm/src/tip/INSTALL.rst>`_ webpage
        
        
        Usage
        -----
        
        Use an acpi event to put the laptop in different powerstage.
        
        usage::
         
          usage: laptop-pm [-h] [-v] [-f]  {battery,ac-adapter,show}
        
        
        positional arguments::
           {battery,ac-adapter,show}  action to perform
        
        
        -h      show this help message and exit
        -v      make the script noisily
        -f      do action even its in the same stage
        
        
        Set device to manage:
        
        - `example config for devices <https://bitbucket.org/igraltist/laptop-pm/src/tip/docs/examples/etc/laptop-pm/laptop-pm.json>`_
        
        To use it with an acpi event see:
        
        - `battery <https://bitbucket.org/igraltist/laptop-pm/src/tip/docs/examples/etc/acpi/events/battery>`_
        - `ac-adapter <https://bitbucket.org/igraltist/laptop-pm/src/tip/docs/examples/etc/acpi/events/ac-adapter>`_
        
        You can just copy it to directory /etc/acpi/events and modify it.
        
        To get your acpi event just call::
          
          acpi_listen
        
        You need create a file for local rc because on boot there is no acpi event.
        
        
        - `startup battery check <https://bitbucket.org/igraltist/laptop-pm/src/tip/docs/examples/etc/local.d/set-power-battery.start>`_
        Gentoo::
        
          Create /etc/local.d/set-power-battery.start and make it executable and write follow content:
                
          # check if the laptop start with battery 
          if [ "$(laptop-pm show)" = "battery" ]; then
            laptop-pm battery
          fi
        
          
        
Keywords: laptop powersave
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: System :: Systems Administration
