{"action":"closed","issue":{"url":"https://api.github.com/repos/linrunner/TLP/issues/149","labels_url":"https://api.github.com/repos/linrunner/TLP/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/linrunner/TLP/issues/149/comments","events_url":"https://api.github.com/repos/linrunner/TLP/issues/149/events","html_url":"https://github.com/linrunner/TLP/issues/149","id":93185579,"number":149,"title":"TLP does not switch between AC/BAT modes","user":{"login":"BLuFeNiX","id":4419945,"avatar_url":"https://avatars.githubusercontent.com/u/4419945?v=3","gravatar_id":"","url":"https://api.github.com/users/BLuFeNiX","html_url":"https://github.com/BLuFeNiX","followers_url":"https://api.github.com/users/BLuFeNiX/followers","following_url":"https://api.github.com/users/BLuFeNiX/following{/other_user}","gists_url":"https://api.github.com/users/BLuFeNiX/gists{/gist_id}","starred_url":"https://api.github.com/users/BLuFeNiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BLuFeNiX/subscriptions","organizations_url":"https://api.github.com/users/BLuFeNiX/orgs","repos_url":"https://api.github.com/users/BLuFeNiX/repos","events_url":"https://api.github.com/users/BLuFeNiX/events{/privacy}","received_events_url":"https://api.github.com/users/BLuFeNiX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/linrunner/TLP/labels/duplicate","name":"duplicate","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-06T04:40:19Z","updated_at":"2015-07-14T18:23:27Z","closed_at":"2015-07-14T18:23:27Z","body":"User must run `sudo tlp start` after (un)plugging laptop, otherwise TLP will not change to the proper mode.\r\n\r\nDistro: Arch (Antergos)\r\nmodel: Lenovo y50-70\r\n \r\ntlp-stat output:\r\n\r\n--- TLP 0.7 --------------------------------------------\r\n\r\n+++ Configured Settings: /etc/default/tlp\r\nTLP_ENABLE=1\r\nDISK_IDLE_SECS_ON_AC=0\r\nDISK_IDLE_SECS_ON_BAT=2\r\nMAX_LOST_WORK_SECS_ON_AC=15\r\nMAX_LOST_WORK_SECS_ON_BAT=60\r\nCPU_SCALING_GOVERNOR_ON_AC=performance\r\nCPU_SCALING_GOVERNOR_ON_BAT=powersave\r\nCPU_MIN_PERF_ON_AC=0\r\nCPU_MAX_PERF_ON_AC=100\r\nCPU_MIN_PERF_ON_BAT=0\r\nCPU_MAX_PERF_ON_BAT=30\r\nCPU_BOOST_ON_AC=1\r\nCPU_BOOST_ON_BAT=0\r\nSCHED_POWERSAVE_ON_AC=0\r\nSCHED_POWERSAVE_ON_BAT=1\r\nNMI_WATCHDOG=0\r\nENERGY_PERF_POLICY_ON_AC=performance\r\nENERGY_PERF_POLICY_ON_BAT=powersave\r\nDISK_DEVICES=\"sda\"\r\nDISK_APM_LEVEL_ON_AC=\"254 254\"\r\nDISK_APM_LEVEL_ON_BAT=\"128 128\"\r\nDISK_SPINDOWN_TIMEOUT_ON_AC=\"0 0\"\r\nDISK_SPINDOWN_TIMEOUT_ON_BAT=\"0 0\"\r\nSATA_LINKPWR_ON_AC=max_performance\r\nSATA_LINKPWR_ON_BAT=min_power\r\nPCIE_ASPM_ON_AC=performance\r\nPCIE_ASPM_ON_BAT=powersave\r\nRADEON_POWER_PROFILE_ON_AC=high\r\nRADEON_POWER_PROFILE_ON_BAT=low\r\nRADEON_DPM_STATE_ON_AC=performance\r\nRADEON_DPM_STATE_ON_BAT=battery\r\nRADEON_DPM_PERF_LEVEL_ON_AC=auto\r\nRADEON_DPM_PERF_LEVEL_ON_BAT=auto\r\nWIFI_PWR_ON_AC=1\r\nWIFI_PWR_ON_BAT=5\r\nWOL_DISABLE=Y\r\nSOUND_POWER_SAVE_ON_AC=0\r\nSOUND_POWER_SAVE_ON_BAT=1\r\nSOUND_POWER_SAVE_CONTROLLER=Y\r\nBAY_POWEROFF_ON_BAT=0\r\nBAY_DEVICE=\"sr0\"\r\nRUNTIME_PM_ON_AC=on\r\nRUNTIME_PM_ON_BAT=auto\r\nRUNTIME_PM_ALL=1\r\nRUNTIME_PM_DRIVER_BLACKLIST=\"radeon nouveau nvidia\"\r\nUSB_AUTOSUSPEND=1\r\nUSB_DRIVER_BLACKLIST=\"usbhid\"\r\nUSB_BLACKLIST_WWAN=1\r\nRESTORE_DEVICE_STATE_ON_STARTUP=0\r\nDEVICES_TO_DISABLE_ON_STARTUP=\"bluetooth wwan\"\r\nDEVICES_TO_ENABLE_ON_STARTUP=\"wifi\"\r\nDEVICES_TO_ENABLE_ON_AC=\"bluetooth wifi\"\r\n\r\n+++ System Info\r\nSystem         = LENOVO Lenovo Y50-70 20378\r\nBIOS           = 9ECN37WW(V2.01)\r\nRelease        = \"Arch Linux\"\r\nKernel         = 4.0.7-2-ARCH x86_64\r\n/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=7f8c0d1c-5137-486e-bafe-a60a3456f77c rw resume=UUID=a71800d8-5753-4da6-9b6e-d03eae0b7119 quiet\r\nInit system    = systemd\r\n\r\n+++ System Status\r\nTLP power save = enabled\r\npower source   = ac\r\n\r\n+++ Processor\r\nCPU Model      = Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz\r\n\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = performance\r\n/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  3600000 [kHz]\r\n\r\n/sys/devices/system/cpu/intel_pstate/min_perf_pct      = 100\r\n/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100\r\n/sys/devices/system/cpu/intel_pstate/no_turbo          = 0\r\n\r\nx86_energy_perf_policy.cpu0                            = performance\r\nx86_energy_perf_policy.cpu1                            = performance\r\nx86_energy_perf_policy.cpu2                            = performance\r\nx86_energy_perf_policy.cpu3                            = performance\r\nx86_energy_perf_policy.cpu4                            = performance\r\nx86_energy_perf_policy.cpu5                            = performance\r\nx86_energy_perf_policy.cpu6                            = performance\r\nx86_energy_perf_policy.cpu7                            = performance\r\n\r\n/proc/sys/kernel/nmi_watchdog                          = 0\r\n\r\n+++ Undervolting\r\nPHC kernel not available.\r\n\r\n+++ Temperatures\r\nCPU temp               =    43 [°C]\r\nFan speed (fan1)       =     0 [/min]\r\n\r\n+++ File System\r\n/proc/sys/vm/laptop_mode               =     0\r\n/proc/sys/vm/dirty_writeback_centisecs =  1500\r\n/proc/sys/vm/dirty_expire_centisecs    =  1500\r\n/proc/sys/vm/dirty_ratio               =    20\r\n/proc/sys/vm/dirty_background_ratio    =    10\r\n/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)\r\n/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)\r\n/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)\r\n\r\n+++ Storage Devices\r\n/dev/sda:\r\n          Model     = Samsung SSD 850 EVO 500GB               \r\n          Firmware  = EMT01B6Q\r\n          APM Level = none/disabled\r\n          Status    = active/idle\r\n          TRIM      = supported\r\n          Scheduler = deadline\r\n\r\n        SMART info:\r\n            5 Reallocated_Sector_Ct     =        0 \r\n            9 Power_On_Hours            =       40 [h]\r\n          177 Wear_Leveling_Count       =      100 [%]\r\n          179 Used_Rsvd_Blk_Cnt_Tot     =        0 \r\n          190 Airflow_Temperature_Cel   =       30 [°C]\r\n          241 Total_LBAs_Written        =    0.091 [TB]\r\n\r\n\r\n+++ SATA Aggressive Link Power Management\r\n/sys/class/scsi_host/host0/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host1/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host2/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host3/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host4/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host5/link_power_management_policy  = max_performance\r\n\r\n+++ PCIe Active State Power Management\r\n/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)\r\n\r\n+++ Intel Graphics\r\n/sys/module/i915/parameters/powersave        =  1 (enabled)\r\n/sys/module/i915/parameters/enable_rc6       =  1 (enabled)\r\n/sys/module/i915/parameters/enable_fbc       = -1 (use per-chip default)\r\n/sys/module/i915/parameters/lvds_downclock   =  0 (disabled)\r\n/sys/module/i915/parameters/semaphores       = -1 (use per-chip default)\r\n\r\n+++ Wireless\r\nbluetooth = on\r\nwifi      = on\r\nwwan      = none (no device)\r\n\r\nhci0(btusb)         : not connected\r\nwlp8s0(iwlwifi)     : connected, power management = off\r\n\r\n+++ Audio\r\n/sys/module/snd_hda_intel/parameters/power_save            = 0\r\n/sys/module/snd_hda_intel/parameters/power_save_controller = N\r\n\r\n+++ Runtime Power Management\r\ndevice classes   = all\r\ndevice blacklist = (not configured)\r\ndriver blacklist = radeon nouveau nvidia\r\n\r\n/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, no driver)\r\n/sys/bus/pci/devices/0000:00:01.0/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)\r\n/sys/bus/pci/devices/0000:00:03.0/power/control = on   (0x040300, Audio device, snd_hda_intel)\r\n/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)\r\n/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000, Communication controller, mei_me)\r\n/sys/bus/pci/devices/0000:00:1a.0/power/control = on   (0x0c0320, USB controller, ehci-pci)\r\n/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x040300, Audio device, snd_hda_intel)\r\n/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1c.1/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1c.2/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1c.4/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x0c0320, USB controller, ehci-pci)\r\n/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, lpc_ich)\r\n/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601, SATA controller, ahci)\r\n/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500, SMBus, no driver)\r\n/sys/bus/pci/devices/0000:01:00.0/power/control = on   (0x030200, 3D controller, no driver)\r\n/sys/bus/pci/devices/0000:08:00.0/power/control = on   (0x028000, Network controller, iwlwifi)\r\n/sys/bus/pci/devices/0000:09:00.0/power/control = on   (0x020000, Ethernet controller, r8169)\r\n/sys/bus/pci/devices/0000:0a:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtsx_pci)\r\n\r\n+++ USB\r\nautosuspend        = enabled\r\ndevice whitelist   = (not configured)\r\ndevice blacklist   = (not configured)\r\ndriver blacklist   = usbhid\r\nwwan blacklist     = enabled (cdc_acm cdc_wdm cdc_ether hso qcserial sierra)\r\n\r\nBus 002 Device 002 ID 8087:8000 control = auto, autosuspend_delay_ms =     0 -- Intel Corp.  (hub)\r\nBus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)\r\nBus 001 Device 002 ID 8087:8008 control = auto, autosuspend_delay_ms =     0 -- Intel Corp.  (hub)\r\nBus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)\r\nBus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)\r\nBus 003 Device 004 ID 05a7:1020 control = on,   autosuspend_delay_ms =  2000 -- Bose Corp.  (snd-usb-audio, usbhid)\r\nBus 003 Device 003 ID 8087:07dc control = auto, autosuspend_delay_ms =  2000 -- Intel Corp.  (btusb)\r\nBus 003 Device 002 ID 174f:14b8 control = auto, autosuspend_delay_ms =  2000 -- Syntek  (uvcvideo)\r\nBus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)\r\n\r\n+++ Battery Status\r\n/sys/class/power_supply/BAT1/manufacturer                   = LENOVO \r\n/sys/class/power_supply/BAT1/model_name                     = PABAS0241231\r\n/sys/class/power_supply/BAT1/cycle_count                    = (not supported)\r\n/sys/class/power_supply/BAT1/energy_full_design             =  55480 [mWh]\r\n/sys/class/power_supply/BAT1/energy_full                    =  61030 [mWh]\r\n/sys/class/power_supply/BAT1/energy_now                     =  25320 [mWh]\r\n/sys/class/power_supply/BAT1/power_now                      =  37800 [mW]\r\n/sys/class/power_supply/BAT1/status                         = Charging\r\n"}}