Page 3 of 19 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 188

Thread: Power Management gui

  1. #21
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    No the settings aren't reverted when you exit, the app is intended to be run all the time. If that feature is requested a lot though I can add it in. And your correct about the enabled, it means the setting is enabled not necessarily the service or module.

  2. #22
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Iggy,

    Great work on this app! For people that do not want to delve into the recesses of laptop_mode this is a great option. I have ran both your gui and laptop_mode and currently I am almost identical on power usage between the two. My laptop_mode config actually pulls about 1w less than using the GUI but I attribute that to the extreme amount of time and work I have put into it.

    Great work, I will continue to run tests for you as you update. The Dell XPS M1710 runs about 39-40W normally, but with tweaking either via your gui or laptop_mode I can run around 27W .. taking a 1 hour battery to nearly 3 hours. I am a happy camper either way.

    Thanks for your work,
    Chad

  3. #23
    Join Date
    Apr 2008
    Beans
    44

    Re: Power Management gui

    I haven't tried your most recent update yet, but I noticed one small issue: the settings aren't applied when I resume from suspend. For example, I need to unplug and then plug back in my AC adapter after resuming from suspend in order for the AC mode settings to be applied. I'm not sure why this is, and I only noticed it now because I finally just got resume-from-suspend to work on my laptop

  4. #24
    Join Date
    Jun 2006
    Beans
    267

    Re: Power Management gui

    I'll have to test out the resume from suspend...I actually hadn't tried that yet as I never suspend or hibernate, thanks for pointing it out.

    also chadeldridge if there's anything you have set in your laptop mode config that I don't have an as option let I'd appreciate it if you let me know.

    I'll probably be working on a one time option tab(if you can think of a better name tell me) which will have a xorg.conf autoconfig and powering down network interfaces next. May integrate my firefox ramdisk launcher as well but I need to do more testing to see if it's worth bothering with(need to check if it actually keeps the disk spun down more).

  5. #25
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    When I get home I will send you all my laptop_mode config files and some other config changes that I made perminent.

  6. #26
    Join Date
    Jun 2006
    Location
    ~Rome, Italy
    Beans
    76
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Power Management gui

    Quote Originally Posted by m4cph1sto View Post
    On a side note, I think having a power saving gui is extremely important for Ubuntu. There are two reason I would never recommend Ubuntu to a regular laptop user: (1) terrible power-saving features, and (2) major suspend/resume problems. Ubuntu is wonderful for desktops, but awful for laptops. I think this gui is an important step towards resolving the first of these issues, and I'm so glad that you've taken the initiative to get it done!
    What distro would you recomend for a laptop?

    Thanks,
    Galv

  7. #27
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Ready for an overkill of information?

    laptop-mode.conf
    Code:
    ###############################################################################
    #
    # Configuration for Laptop Mode Tools
    # -----------------------------------
    #
    # There is a "system" to the configuration setting names:
    #    CONTROL_something=0/1   Determines whether Laptop Mode Tools controls 
    #                            something
    #    LM_something=value      Value of "something" when laptop mode is active
    #    NOLM_something=value    Value of "something" when laptop mode is NOT
    #                            active
    #    AC_something=value      Value of "something" when the computer is running
    #                            on AC power
    #    BATT_something=value    Value of "something when the computer is running
    #                            on battery power
    #
    # There can be combinations of LM_/NOLM_ and AC_/BATT_ prefixes, but the
    # available prefixes are different for each setting. The available ones are 
    # documented in the manual page, laptop-mode.conf(8). If there is no LM_/
    # NOLM_ in a setting name, then the value is used independently of laptop
    # mode state, and similarly, if there is no AC_/BATT_, then the value is used
    # independently of power state.
    #
    # Some options only work on ACPI systems. They are marked ACPI-ONLY.
    #
    # Note that this configuration file is a fragment of shell script: you
    # can use all the features of the shell scripting language to achieve your
    # desired configuration.
    #
    # 
    # Modules
    # -------
    #
    # Laptop Mode Tools modules have separate configuration files, that can be
    # found in /etc/laptop-mode/conf.d. Please look through these configuration
    # files as well, there are many useful power saving tools in there!
    #
    ###############################################################################
    
    
    
    ###############################################################################
    # Configuration debugging
    # -----------------------
    ###############################################################################
    
    
    #
    # Set this to 1 if you want to see a lot of information when you start/stop 
    # laptop_mode.
    #
    VERBOSE_OUTPUT=0
    
    
    
    ###############################################################################
    # When to enable laptop mode
    # --------------------------
    #
    # "Laptop mode" is the mode in which laptop mode tools makes the computer
    # consume less power. This includes the kernel "laptop_mode" feature, which
    # allows your hard drives to spin down, as well as various other settings which
    # can be tweaked by laptop mode tools. You can enable or disable all of these
    # settings using the CONTROL_... options further down in this config file.
    ###############################################################################
    
    
    #
    # Enable laptop mode when on battery power.
    #
    ENABLE_LAPTOP_MODE_ON_BATTERY=1
    
    
    #
    # Enable laptop mode when on AC power.
    #
    ENABLE_LAPTOP_MODE_ON_AC=0
    
    
    #
    # Enable laptop mode when the laptop's lid is closed, even when we're on AC
    # power? (ACPI-ONLY)
    #
    ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
    
    
    
    ###############################################################################
    # When to enable data loss sensitive features
    # -------------------------------------------
    #
    # When data loss sensitive features are disabled, laptop mode tools acts as if
    # laptop mode were disabled, for those features only.
    #
    # Data loss sensitive features include:
    # - laptop_mode (i.e., delayed writes)
    # - hard drive write cache
    #
    # All of the options that follow can be set to 0 in order to prevent laptop
    # mode tools from using them to stop data loss sensitive features. Use this
    # when you have a battery that reports the wrong information, that confuses
    # laptop mode tools.
    #
    # Disabling data loss sensitive features is ACPI-ONLY.
    ###############################################################################
    
    
    #
    # Disable all data loss sensitive features when the battery level (in % of the
    # battery capacity) reaches this value.
    #
    MINIMUM_BATTERY_CHARGE_PERCENT=3
    
    
    #
    # Disable data loss sensitive features when the battery reports its state
    # as "critical".
    #
    DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
    
    
    ###############################################################################
    # Controlled hard drives and partitions
    # -------------------------------------
    #
    # For spinning down your hard drives, laptop mode will remount file systems and
    # adjust hard drive spindown timeouts. These parameters specify which
    # devices and partitions are affected by laptop mode.
    ###############################################################################
    
    
    #
    # The drives that laptop mode controls.
    # Separate them by a space, e.g. HD="/dev/hda /dev/hdb". The default is a
    # wildcard, which will get you all your IDE and SCSI/SATA drives.
    #
    HD="/dev/[hs]d[abcdefgh]"
    
    
    #
    # The partitions (or mount points) that laptop mode controls.
    # Separate the values by spaces. Use "auto" to indicate all partitions on drives
    # listed in HD. You can add things to "auto", e.g. "auto /dev/hdc3". You can
    # also specify mount points, e.g. "/mnt/data".
    #
    PARTITIONS="auto /dev/mapper/*"
    
    
    #
    # If this is enabled, laptop mode tools will assume that SCSI drives are
    # really SATA drives that only _look_ like SCSI drives, and will use hdparm
    # to control them. Set this to 0 if you have /dev/sd devices and you want
    # laptop mode tools to use the "sdparm" command to control them. 
    #
    ASSUME_SCSI_IS_SATA=1
    
    
    ###############################################################################
    # Hard drive behaviour settings
    # -----------------------------
    #
    # These settings specify how laptop mode tools will adjust the various
    # parameters of your hard drives and file systems.
    ###############################################################################
    
    
    #
    # Maximum time, in seconds, of work that you are prepared to lose when your
    # system crashes or power runs out. This is the maximum time that Laptop Mode
    # will keep unsaved data waiting in memory before spinning up your hard drive.
    #
    LM_BATT_MAX_LOST_WORK_SECONDS=800
    LM_AC_MAX_LOST_WORK_SECONDS=360
    
    
    #
    # Should laptop mode tools control readahead?
    #
    CONTROL_READAHEAD=1
    
    
    #
    # Read-ahead, in kilobytes. You can spin down the disk while playing MP3/OGG
    # by setting the disk readahead to a reasonable size, e.g. 3072 (3 MB).
    # Effectively, the disk will read a complete MP3 at once, and will then spin 
    # down while the MP3/OGG is playing. Don't set this too high, because the 
    # readahead is applied to _all_ files that are read from disk.
    #
    LM_READAHEAD=3072
    NOLM_READAHEAD=128
    
    
    #
    # Should laptop mode tools add the "noatime" option to the mount options when 
    # laptop mode is enabled?
    #
    CONTROL_NOATIME=0
    
    # Should laptop use relatime instead of noatime? The "relatime" mount option has
    # more standards-compliant semantics, and allows more applications to work,
    # while retaining a low level of atime updates (i.e., disk writes).
    USE_RELATIME=1
    
    
    #
    # Should laptop mode tools control the hard drive idle timeout settings?
    #
    CONTROL_HD_IDLE_TIMEOUT=1
    
    
    #
    # Idle timeout values. (hdparm -S)
    # Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds
    # for battery and for AC with laptop mode on.
    #
    LM_AC_HD_IDLE_TIMEOUT_SECONDS=20
    LM_BATT_HD_IDLE_TIMEOUT_SECONDS=20
    NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
    
    
    #
    # Should laptop mode tools control the hard drive power management settings?
    #
    CONTROL_HD_POWERMGMT=1
    
    
    #
    # Power management for HD (hdparm -B values)
    #
    BATT_HD_POWERMGMT=1
    LM_AC_HD_POWERMGMT=254
    NOLM_AC_HD_POWERMGMT=254
    
    
    #
    # Should laptop mode tools control the hard drive write cache settings?
    #
    CONTROL_HD_WRITECACHE=1
    
    
    #
    # Write cache settings for HD (hdparm -W values)
    #
    NOLM_AC_HD_WRITECACHE=1
    NOLM_BATT_HD_WRITECACHE=0
    LM_HD_WRITECACHE=0
    
    
    
    
    ###############################################################################
    # Settings you probably don't want to touch
    # -----------------------------------------
    #
    # It is usually not necessary to change these parameters. They are included
    # for completeness' sake.
    ###############################################################################
    
    
    #
    # Change mount options on partitions in PARTITIONS? You don't really want to
    # disable this. If you do, then your hard drives will probably not spin down
    # anymore.
    #
    CONTROL_MOUNT_OPTIONS=1
    
    
    #
    # Dirty synchronous ratio.  At this percentage of dirty pages the process
    # which calls write() does its own writeback.
    #
    LM_DIRTY_RATIO=60
    NOLM_DIRTY_RATIO=40
    
    
    #
    # Allowed dirty background ratio, in percent.  Once DIRTY_RATIO has been
    # exceeded, the kernel will wake pdflush which will then reduce the amount
    # of dirty memory to dirty_background_ratio.  Set this nice and low, so once
    # some writeout has commenced, we do a lot of it.
    #
    LM_DIRTY_BACKGROUND_RATIO=1
    NOLM_DIRTY_BACKGROUND_RATIO=10
    
    
    #
    # kernel default settings -- don't touch these unless you know what you're 
    # doing.
    #
    DEF_UPDATE=5
    DEF_XFS_AGE_BUFFER=15
    DEF_XFS_SYNC_INTERVAL=30
    DEF_XFS_BUFD_INTERVAL=1
    DEF_MAX_AGE=30
    
    
    #
    # This must be adjusted manually to the value of HZ in the running kernel
    # on 2.4, until the XFS people change their 2.4 external interfaces to work in
    # centisecs. This can be automated, but it's a work in progress that still
    # needs some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
    # external interfaces, and that is currently always set to 100. So you don't
    # need to change this on 2.6.
    #
    XFS_HZ=100
    
    
    #
    # Seconds laptop mode has to to wait after the disk goes idle before doing
    # a sync.
    #
    LM_SECONDS_BEFORE_SYNC=2
    ac97-powersave.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module ac97-powersave.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # AC97 power saving settings
    # ---------------------------
    #
    # If you enable this setting, laptop mode tools will automatically set the
    # powersave mode of AC97 audio chipsets. This setting does not hurt, so
    # there are no AC vs. battery settings: if CONTROL_AC97_POWER is set to 1,
    # the powersave mode is always enabled.
    #
    ###############################################################################
    
    # Control AC97 audio chipset power?
    CONTROL_AC97_POWER=1
    bluetooth.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module bluetooth.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # Bluetooth settings
    # ------------------
    #
    # If you enable this module, laptop mode tools will enable/disable bluetooth
    # depending on the power status of your laptop. Bluetooth uses a considerable
    # amount of power (comparable to wireless networking), and disabling it is
    # therefore a good idea when you are looking to improve your battery life.
    #
    ###############################################################################
    
    # Control bluetooth?
    CONTROL_BLUETOOTH=1
    
    # Enable bluetooth on battery
    BATT_ENABLE_BLUETOOTH=0
    
    # Enable bluetooth on AC
    AC_ENABLE_BLUETOOTH=1
    
    # Bluetooth interfaces to enable/disable
    BLUETOOTH_INTERFACES="hci0"
    configuration-file-control.conf

    Code:
    #
    # Configuration file for Laptop Mode Tools module configuration-file-control.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    ###############################################################################
    # Configuration file control
    # --------------------------
    #
    # Laptop mode tools can automatically swap out configuration files depending on
    # the power state of your system.
    # 
    # The primary use for this feature is for controlling the configuration files
    # of syslog daemons. Syslog daemons have a tendency to sync their log files when
    # entries are written to them. This causes disks to spin up, which is not very
    # nice when you're trying to save power. The syslog.conf can be tweaked to *not*
    # sync a given file, by prepending the log file name with a dash, like this:
    #
    # 	mail.*		-/var/log/mail/mail.log
    #
    # Using the following options, you can let laptop mode switch between
    # different configurations depending on whether you are working on
    # battery or on AC power.
    #
    #
    # IMPORTANT NOTE
    # --------------
    #
    # This feature will NOT work if CONTROL_SYSLOG_CONF is set in laptop-mode.conf.
    # To start using this feature, remove the CONTROL_SYSLOG_CONF section in
    # laptop-mode.conf, and then restart the laptop-mode-tools service.
    #
    # Note that the new config files will have different names than the old ones,
    # and that settings are NOT migrated. You will have to do this manually.
    #
    ###############################################################################
    
    
    #
    # Should laptop mode tools control which configuration files should be used?
    #
    CONTROL_CONFIG_FILES=1
    
    
    #
    # Specify the configuration files that you want to control, as a space-separated
    # list.
    #
    # The specific configuration files will be named as follows:
    #
    #     <config file>-nolm-ac
    #     <config file>-lm-ac
    #     <config file>-batt
    #
    # The first file will be used when the system is on AC power and laptop mode
    # is not active. The second file will be used when the system is on AC power and
    # laptop mode is active. The third file will be used when the system is on
    # battery power.
    #
    # When the laptop mode tools service is enabled, it will replace the
    # configuration files with a symlink to one of the three state-based
    # configuration files. The original configuration file will be saved as
    # <config file>.lmbackup, and it will be restored when the laptop mode tools
    # service is disabled.
    #
    # When you add files to this list, make sure to also add the appropriate
    # programs and services to the configuration settings below.
    #
    # You can create the alternate configuration files yourself. If you don't, they
    # will be created by laptop mode tools the next time it is restarted. To force
    # the files to be created, run the laptop mode tools init script with the
    # "restart" parameter.
    #
    CONFIG_FILES="/etc/syslog.conf /etc/syslog-ng/syslog-ng.conf /etc/rsyslog.conf"
    
    
    #
    # Signal these programs and reload these services when configuration files hav
    # been replaced.
    #
    # Programs in CONFIG_FILE_SIGNAL_PROGRAMS receive the SIGHUP signal after
    # configuration files have been replaced. All common syslog daemons interpret
    # this as an instruction to reload their config files, it may work for other
    # daemons as well but your mileage may vary.
    #
    # For services listed in CONFIG_FILE_RELOAD_SERVICES, laptop mode tools will
    # call the init script with the "reload" parameter after configuration files
    # have been replaced.
    #
    CONFIG_FILE_SIGNAL_PROGRAMS="syslogd syslog-ng rsyslogd"
    CONFIG_FILE_RELOAD_SERVICES=""
    cpufreq.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module cpufreq.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    ###############################################################################
    # CPU frequency scaling and throttling
    # ------------------------------------
    #
    # Laptop mode tools can automatically adjust your kernel CPU frequency
    # settings. This includes upper and lower limits and scaling governors.
    # There is also support for CPU throttling, on systems that don't support
    # frequency scaling.
    #
    # This feature only works on 2.6 kernels.
    #
    #
    # IMPORTANT: In versions 1.36 and earlier, these settings were included in the
    # main laptop-mode.conf configuration file. If they are still present, they
    # overrule the settings in this file. To fix this, simply delete the settings
    # from the main config file.
    #
    ###############################################################################
    
    
    #
    # Should laptop mode tools control the CPU frequency settings?
    #
    CONTROL_CPU_FREQUENCY=1
    
    
    #
    # Legal values are "slowest" for the slowest speed that your
    # CPU is able to operate at, "fastest" for the fastest speed,
    # "medium" for some value in the middle, or any value listed in
    # /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies.
    # The "governor" can be any governor installed on your system, this usually
    # includes "ondemand", "conservative", and "performance". The
    # "IGNORE_NICE_LOAD" setting specifies that background programs that have
    # a low priority ("nice level") should not cause the CPU frequency to
    # be increased. (You generally want this to be enabled in battery mode.)
    #
    BATT_CPU_MAXFREQ=fastest
    BATT_CPU_MINFREQ=slowest
    BATT_CPU_GOVERNOR=ondemand
    BATT_CPU_IGNORE_NICE_LOAD=1
    LM_AC_CPU_MAXFREQ=fastest
    LM_AC_CPU_MINFREQ=slowest
    LM_AC_CPU_GOVERNOR=ondemand
    LM_AC_CPU_IGNORE_NICE_LOAD=1
    NOLM_AC_CPU_MAXFREQ=fastest
    NOLM_AC_CPU_MINFREQ=slowest
    NOLM_AC_CPU_GOVERNOR=ondemand
    NOLM_AC_CPU_IGNORE_NICE_LOAD=0
    
    
    #
    # Should laptop mode tools control the CPU throttling? This is only useful
    # on processors that don't have frequency scaling.
    # (Only works when you have /proc/acpi/processor/CPU*/throttling.)
    #
    CONTROL_CPU_THROTTLING=0
    
    
    #
    # Legal values are "maximum" for the maximum (slowest) throttling level,
    # "minimum" for minimum (fastest) throttling level, "medium" for a value
    # somewhere in the middle (this is usually 50% for P4s), or any value listed
    # in /proc/acpi/processor/CPU*/throttling. Be careful when using "maximum":
    # this may be _very_ slow (in fact, with P4s it slows down the processor
    # by a factor 8).
    #
    BATT_CPU_THROTTLING=medium
    LM_AC_CPU_THROTTLING=medium
    NOLM_AC_CPU_THROTTLING=minimum
    ethernet.conf

    Code:
    #
    # Configuration file for Laptop Mode Tools module ethernet.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # Ethernet power saving settings
    # ------------------------------
    #
    # There are various ways to save power with ethernet. This section allows you
    # to control the speed of your ethernet connection, and your wakeup-on-LAN
    # settings. Both these things can have quite a power impact if you use Ethernet.
    #
    ###############################################################################
    
    # Control Ethernet settings?
    CONTROL_ETHERNET=1
    
    # Disable wakeup-on-LAN? This will disable wakeup-on-LAN unconditionally,
    # independent of battery power. It will save power while your laptop is turned
    # off or in standby mode.
    DISABLE_WAKEUP_ON_LAN=1
    
    # Limit the speed of the Ethernet connection to 100 Mbit? The difference in
    # power usage between 1 Gbit and 100 Mbit Ethernet is quite large, so tuning
    # can yield savings if you don't need the full speed (for instance if you only
    # use Ethernet as to connect to a much slower ADSL modem).
    BATT_THROTTLE_ETHERNET=1
    LM_AC_THROTTLE_ETHERNET=1
    NOLM_AC_THROTTLE_ETHERNET=0
    
    
    # A list of the ethernet devices that should be controlled.
    ETHERNET_DEVICES="eth0 eth1"
    hal-polling.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module hal-polling.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # HAL polling settings
    # --------------------
    #
    # If you enable this module, laptop mode tools will control the polling of
    # your CD/DVD drives by HAL. Disabling polling saves a considerable amount of
    # power, but for some older CD/DVD drives it means that inserted CDs are no
    # longer autodetected. In such cases, you must turn this option off.
    # Alternatively, you can configure laptop mode tools to turn HAL polling on only
    # when the laptop is running on AC power. This would mean that CDs are not
    # autodetected while the laptop is running on battery power, but the power
    # savings may be worth the extra manual labour when you insert a CD.
    #
    ###############################################################################
    
    # Control HAL polling?
    CONTROL_HAL_POLLING=1
    
    # Disable HAL polling on battery
    BATT_DISABLE_HAL_POLLING=1
    
    # Enable HAL polling on AC
    AC_DISABLE_HAL_POLLING=0
    
    # Drives to apply HAL polling settings to
    HAL_POLLING_DEVICES="/dev/cdrom"
    intel-sata-powermgmt.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module intel-sata-powermgmt.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # Intel SATA power management settings
    # ------------------------------------
    #
    # If you enable this setting, laptop mode tools will automatically enable the
    # link power management mode of Intel AHCI compliant SATA chipsets.
    #
    ###############################################################################
    
    # Control Intel SATA chipset power management?
    CONTROL_INTEL_SATA_POWER=1
    sched-mc-power-savings.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module sched-mc-power-savings
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # Multi-core, multi-threaded power-saving tunables for the process scheduler
    # --------------------------------------------------------------------------
    #
    # If you enable this setting, laptop mode tools will automatically configure the
    # Linux scheduler to save power on multi-core processors while running on
    # battery mode.
    # 
    ###############################################################################
    
    # Control multi-core power-saving tunables for the process scheduler?
    CONTROL_SCHED_MC_POWER_SAVINGS=1
    video-out.conf

    Code:
    #
    # Configuration file for Laptop Mode Tools module video-out.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # Video output control settings
    # -----------------------------
    #
    # It is not always possible for video hardware to detect if displays are
    # actually connected to VGA out and/or TV out ports. However, an enabled video
    # output port draws power, even if no display is connected. This module allows
    # you to force display outputs off depending on the power mode.
    #
    ###############################################################################
    
    # Control video output settings?
    CONTROL_VIDEO_OUTPUTS=1
    
    # Display types to disable in various modes. Run "xrandr" to check which outputs
    # are available. Make sure that you do not list your primary display here!
    BATT_DISABLE_VIDEO_OUTPUTS="TMDS VGA"
    LM_AC_DISABLE_VIDEO_OUTPUTS="TMDS VGA"
    NOLM_AC_DISABLE_VIDEO_OUTPUTS=""
    wireless-iwl-power.conf
    Code:
    #
    # Configuration file for Laptop Mode Tools module wireless-iwl-power.
    #
    # For more information, consult the laptop-mode.conf(8) manual page.
    #
    
    
    ###############################################################################
    # IWL Wireless Power settings
    # ---------------------------
    #
    # If you enable this setting, laptop mode tools will automatically set the
    # powersave mode of Intel 3945 and 4965 wireless adapters when using the
    # iwl3945 or iwl4965 drivers.
    #
    ###############################################################################
    
    # Control Intel IWL wireless power?
    CONTROL_IWL_POWER=1
    
    # Levels passed to "/sys/class/net/*/device/power_level" for the iwlwifi
    # wireless chipsets. The allowed values are:
    # 1 = fixed values with most power usage
    # ...
    # 5 = fixed values with least power usage
    # 6 = AC (full power)
    # 7 = Battery (least power)
    IWL_AC_POWER=6
    IWL_BATT_POWER=7

  8. #28
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Here is powertop with and without your application running and with no power management.
    Attached Images Attached Images

  9. #29
    Join Date
    Jun 2007
    Location
    Columbus, OH
    Beans
    172
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Power Management gui

    Also I do not think the power management for wifi does anything at all on my laptop, either via laptop_mode or the GUI. This is probably due to using the iwlagn driver. Could you possibly add it to your GUI?

  10. #30
    Join Date
    Nov 2005
    Beans
    60
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Power Management gui

    Quote Originally Posted by chadeldridge View Post
    Also I do not think the power management for wifi does anything at all on my laptop, either via laptop_mode or the GUI. This is probably due to using the iwlagn driver. Could you possibly add it to your GUI?
    My wlan driver doesn't have any power management, I use the ath5k driver
    and the only power management I can get it's the "iwconfig wlan0 power on" which decreased a lot the power usage from wireless
    I tested theg last version of the GUI, and I could drop from ~ 22W in AC, for 12.8 W with the power management options, great job.

Page 3 of 19 FirstFirst 1234513 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •