4 ms·
if you could point to how you configured your power management that would be great
by robmsmt 5y ago
if you could point to how you configured your power management that would be great
- smoldesu 5y ago"sudo tlp start" :)
- ohazi 5y agoStart with this. If there are peripherals you don't use (something as small as a Bluetooth adapter or as large as a GPU), figure out how to power them down, and get the computer to put them in that state by default. On ThinkPads (and probably on others), you can monitor the instantaneous power consumption by poking around in: /sys/class/power_supply/* There are widgets that can monitor this for you and alert you if anything seems amiss, but I just have a script that puts some text and symbols in my menu bar: https://github.com/ohazi/dotfiles/blob/master/bin/battery.sh https://github.com/ohazi/dotfiles/blob/master/bin/battery.sh You can use this to confirm that (for example) your wifi card is actually powering down when you ask it to.
- robmsmt 5y agoThanks it looks neat. I'll check out your scripts - especially interested in the power draw part for myself. I had setup the 80% cycling before but that was on my n-1 installation and haven't had chance to put that back on. I have a friend who I convinced to buy a Thinkpad and stick ubuntu 20.04 on it. Unfortunately he got a more expensive X1 one with an Nvidia Graphics card, it strangely overheats when he needs to charge it and plugs it into the AC. I suspect the power settings are all over the place. I've not had chance to get a log from him yet. How did you "power down" your nvidia card?
- ohazi 5y ago> How did you "power down" your nvidia card? First I made sure X was working the way I wanted with Intel graphics. There are a handful of ways to do hybrid graphics on Linux, depending on what you want to be able to do, and how old your hardware is (including "I didn't even want this thing, just keep it powered off forever"). The Arch wiki has some pretty good guides [1] that are helpful even if you're using a different system. bbswitch seems to work on my system, and the interface is really simple [2]. But there's also this page on acpi_call [3], which suggests that bbswitch is old and unmaintained and that newer systems do something different. From a quick scan, it looks like the Arch wiki also mentions this approach. As far as drivers go, I know everyone likes to dump on Nvidia for their closed source mess, but on every system I've used with Nvidia hardware (desktops and laptops), I've found that the Nvidia drivers have universally been more reliable than nouveau, so that's what I use. [1] https://wiki.archlinux.org/title/hybrid_graphics https://wiki.archlinux.org/title/hybrid_graphics (poke around in "Related Articles" too) [2] https://github.com/Bumblebee-Project/bbswitch#turn-the-card-off-respectively-on https://github.com/Bumblebee-Project/bbswitch#turn-the-card-... [3] https://github.com/geminis3/nvidia-gpu-off https://github.com/geminis3/nvidia-gpu-off