NVME powersaving script
#10
also, a TL;DR for the script

sudo nano /usr/bin/nvmelowpower.sh

#!/bin/sh sudo nvme set-feature /dev/nvme0 -f 2 -v 2

sudo nano /usr/bin/nvmehighpower.sh

#!/bin/sh sudo nvme set-features /dev/nvme0 - 2 -v 0

sudo nano /etc/sudoers

username ALL=(ALL) NOPASSWD: /usr/bin/nvme

sudo chmod a+x /usr/bin/nvmelowpower.sh

sudo chmod a+x /usr/bin/nvmehighpower.sh

open KDE System settings power management menu

Under the "On AC Power" tab under "Run Script" entered the script "/usr/bin/nvmehighpower.sh"

Under the "On Battery" tab under "run Script" enter "/usr/bin/nvmelowpower.sh"


Messages In This Thread
NVME powersaving script - by mamboman777 - 07-01-2020, 05:17 PM
RE: NVME powersaving script - by mamboman777 - 07-01-2020, 08:12 PM
RE: NVME powersaving script - by squidd - 07-02-2020, 10:13 AM
RE: NVME powersaving script - by xmixahlx - 07-02-2020, 10:25 AM
RE: NVME powersaving script - by mamboman777 - 07-02-2020, 01:57 PM
RE: NVME powersaving script - by mamboman777 - 07-02-2020, 07:01 PM
RE: NVME powersaving script - by mamboman777 - 07-03-2020, 06:01 AM
RE: NVME powersaving script - by mamboman777 - 07-05-2020, 11:15 AM
RE: NVME powersaving script - by squidd - 07-06-2020, 05:12 PM
RE: NVME powersaving script - by squidd - 07-06-2020, 06:32 PM
RE: NVME powersaving script - by mamboman777 - 07-16-2020, 01:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Selling my Pinebook Pro with a bootable NVMe WD SSD drive pinemouth 0 1,067 09-27-2023, 08:53 PM
Last Post: pinemouth
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 1,084 07-13-2023, 01:50 PM
Last Post: PaulQ
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 2,177 04-23-2023, 06:58 AM
Last Post: acruhl
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 125 238,377 09-27-2022, 07:41 AM
Last Post: olyavi
  Selling Pinebook Pro (ISO) + nvme from Sweden DavidL 5 4,042 06-20-2022, 03:20 PM
Last Post: DavidL
  For Sale: Pinebook Pro 64gb ANSI with NVMe Adapter Lumat 2 2,456 04-24-2022, 01:42 AM
Last Post: kylexd
  Selling PineBook PRO with ISO Keyboard + NVME firefox-58 27 22,634 04-08-2022, 06:23 AM
Last Post: firefox-58
  Pinebook Pro (ANSI) with NVME 1TB (660p) for sale Fish 5 4,855 01-26-2022, 08:49 AM
Last Post: TRS-80
  Selling PineBook PRO with ANSI Keyboard + NVME woodeen 3 3,837 11-30-2021, 06:38 PM
Last Post: luca22
  Boot from NVME theboz1@verizon.net 2 2,760 10-22-2021, 07:58 PM
Last Post: theboz1@verizon.net

Forum Jump:


Users browsing this thread: 2 Guest(s)