community-code / amps Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
It would be great if you could provide integration with Tasker, say via a plug-in!
The launcher icon for Amps does not appear to be set properly, and defaults to the Android head logo.
@community-code I love the program, but a widget would be even better! Maybe if you have time? Thanks for sharing your work!
Hi there,
I've tested your code on multiple devices and first of all thank you, works great!
However when I've tested your code on a Mi A1 device and on a P8 Lite 2017 device I found some discrepancy. Both those devices use the official Android interface provided by the Battery Manager to obtain the current measurement.
On the Mi A1 the measurement is provided by the BatteryManager in milliAmpere * 1000 and is positive when the phone is discarging, on the P8 Lite 2017 the measurement is already provided in milliamperes and is negative when the phone is discarging.
Basically here https://github.com/community-code/amps/blob/master/app/src/main/java/com/communitycode/amps/main/battery/OfficialBatteryMethod.java in same cases dividing by 1000 is not correct.
I attach some screenshots taken from my test.
Have a nice day![
](url)
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.