morgwai / tpbat-utils-acpi Goto Github PK
View Code? Open in Web Editor NEWSome simple utility scripts and config files around tpacpi-bat
License: Apache License 2.0
Some simple utility scripts and config files around tpacpi-bat
License: Apache License 2.0
I have a T470, which includes a 24 Wh internal battery in addition to the 68 Wh removable battery. I installed acpi-call, tpacpi-bat, and tpbat-utils-acpi after adding the respository ppa:morgwai/tpbat
. After reboot, (which involved a password dance to disable UEFI secure boot), I ran battery-set-normal-charge-levels
, after which battery-get-charge-levels
reports
start charging at 50 (relative percent)
stop charging at 85 (relative percent)
However, when I unplugged, let the machine run down the battery a bit (the history chart in the Ubuntu's Power Statistics - Device History" view reports a "Cell charge" of about 42% 2.5 hours ago), and then plugged back in the charger, it charged back up to 91%, as of time of writing.
Is this as intended, or is there some bug with my setup? How could I troubleshoot this further?
I have a t500 and it doesn't work with tpacpi-bat.
I'm planning to modify the scripts to detect tpacpi-bat or tp_smapi and use either one.
If I get it working I'll try to do a PR, but I'm not in a rush and I have a lot of other projects, it will probably not be soon, unless I have to change my battery setpoints a few times.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.