Hot answers tagged

2

Intro The script below allows remembering brightness levels depending on the power source used by a laptop. It defaults to 50% on battery, 90% on AC. Overview of options and usage source_monitor.sh [-a INT] [-b INT] [-v] [-h] -a set initial brightness on AC adapter -b set initial brightness on batter -v enable verbose output -h prints this help text ...


2

This was tested and validated to work on Ubuntu 12.04 x64 - 14.04 x64 and Linux Mint 16 x64 - 17.3 x64 and Samsung NP300E5Z laptop. Essentially, we need to change content of /sys/devices/platform/samsung/battery_life_extender file to 1 or 0. To turn on Battery Life Extender (run command from bash console): sudo tee /sys/devices/platform/samsung/...


1

I had the exact same problem a few months ago, I resolved it by installing : sudo apt-get install laptop-mode-tools. I'm not sure why it worked but I forgot to care Other thing you could try is disabling the Wake-On-Lan feature of your motherboard, if the solution above doesn't do the trick. To do this, you should get to your BIOS (Usually press F2 or DEL ...


1

What you're describing has to be a failure of either the battery voltage sensor, Ubuntu's driver or handler for that sensor, or of the battery itself. Long run life rules out bad cells that would display as a dead battery, so it's either a sensor failure or a software issue. Try booting from live media (DVD or USB) and see if the battery display still ...


1

The installation of tp-smapi-dkms failed at some point. As you have a T460s i reckon you're using a 4.6 kernel. tp-smapi-dkms 0.41-1 from the Xenial repos doesnt't compile with that kernel. Only 0.42-1 from Yakkety or Debian unstable will do. BUT: tp-smapi won't work on the T460s anyway (and is not needed), so just remove it and you'll be fine: sudo apt-...


1

You could use PowerTOP (https://01.org/powertop). It's not exactly whatyou want (does not give consumption percentages I think) but it gives you the wattage consumption per process in real time.



Only top voted, non community-wiki answers of a minimum length are eligible