Giter VIP home page Giter VIP logo

yoga-slim-7-manager's Introduction

yoga-slim-7-manager

This tool serves to toggle a selection of useful features which are hard to get to on Linux. Tested for Arch Linux and Solus. Only works for Yoga Slim 7 14ARE05, do not attempt to use this tool without change on a different device. I will very probably add more features to this, this is an early version and may have a few bugs. Please use kernel version 5.13 or later, the cooling modes are a recent addition.

Features

  • Toggle battery conservation mode (charge limit to 60%)
  • Change cooling mode (Low Power, Intelligent Cooling and Performance Mode)
  • Check available sleep states
  • Touchpad fix for Arch

refer to this arch wiki link for more details

Prerequisites

First install acpi_call (or acpi_call-lts for LTS kernel, acpi_call-dkms for other kernels) for the ability to switch cooling modes... also load the kernel module:

sudo pacman -S acpi_call

don't forget to reboot!

sudo modprobe acpi_call

Usage

Use the curl command, or clone this repository and mark the script as executable. Run with superuser privileges.

Installation

curl https://raw.githubusercontent.com/dhonus/yoga-slim-7-manager/main/yoga.sh >> yoga.sh

chmod +x yoga.sh

sudo ./yoga.sh

quick battery conserve toggle:

./yoga.sh --battery

Notes

The cooling mode will reset to the current mode selected in the BIOS upon every reboot.

At this time this laptop works very well in Arch, only requiring a blacklist of "elan_i2c" to fix the touchpad inconsistency (see the touchpad fix in the tool).

Other distributions should be simple enough to implement, but the laptop doesn't seem to perform too well on older systems.

alt text

yoga-slim-7-manager's People

Contributors

dhonus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.