Giter Club home page Giter Club logo

amps's People

Contributors

community-code avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amps's Issues

Tasker integration

It would be great if you could provide integration with Tasker, say via a plug-in!

Widget!

@community-code I love the program, but a widget would be even better! Maybe if you have time? Thanks for sharing your work!

Erroneous measurement from BatteryManager official interface

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![
mia1
p8lite

](url)

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.