Giter VIP home page Giter VIP logo

casus-tweaks's Introduction

WARNING

These functions can be very dangerous!

'C302 Chromebook slow charging issue on linux`

Linux limits the charge rate to a trickle so charging goes from taking an hour to over 10. I'm not sure why are when this happens it just does.

The current solutin is to remove the power. Suspend the device attach the power, wait a few seconds then bring the device out of sleep. Then it's back charging at full rate.

Note: I did try the functions setting the current but I got errors and the battery disapeared completely.

suspend from cAsus.bashrc

Just stick the suspend alias into your bashrc. Then run suspend whenever you you need to plug in your charger.

'THE FOLLOWING IS AT YOUR OWN RISK'

For full details visit http://kmkeen.com/cAsus-tweaks/

Notes on requirements:

cAsus.bl-adjust.sh

Quadratic ramp, takes "up/down" as an argument. Requires xosd, terminus-font and cAsus.backlight.conf.

cAsus.tablet-mode.c

Requires xosd, terminus-font and xorg-input. Build with

gcc -O2 -lm cAsus.tablet-mode.c -o cAsus.tablet-mode

cAsus.vol-adjust.sh

Takes "up/down/toggle" as an argument. Requires xosd, terminus-font and alsa-utils.

cAsus.status.sh

Requires xosd and terminus-font.

cAsus.auto-suspend.sh

Optionally uses xosd and terminus-font. Requires xprintidle.

charge_current (from cAsus.bashrc)

Takes a number between 0 and 3456 as an argument, setting the milliamp charge rate of the battery. Requires ec-utils and a properly configured sudoers.

charge_until (from cAsus.bashrc)

Takes a number between 0 and 100 as an argument, charging the battery until it reaches that percent capacity. Charge rate may be specified with the CHARGE_MA environment variable.

casus-tweaks's People

Watchers

 avatar  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.