Skip to content

Instantly share code, notes, and snippets.

@perXautomatik
Last active April 6, 2021 21:45
Show Gist options
  • Save perXautomatik/cfdbd1ea474ebfba0c04d9140bb2d203 to your computer and use it in GitHub Desktop.
Save perXautomatik/cfdbd1ea474ebfba0c04d9140bb2d203 to your computer and use it in GitHub Desktop.
[Project idea] - [Android] monitors your power consumption
battery draneage,
maybe pushing it as note, or
some resources efficient way to log and upload,
interesting in what state the Android phone is on each check such as
which sensors is on, screen brightness, running apps
ram usage
screen active or not
deep sleep or not
worth triggering 1a minute
drainage Delta and assumed state since last check,
for example, if thread did not run last minut, was phone of or in deep sleep?
special events gets own timer,
events such as photoshooting, should take before and after regardless of time consumed.
process like active usage should have its own event
listening to music should have its own event
and it is worth noting certain properties during this events, like, musicvolume
network usage
over wireless or over data plan.
receiving calls,
was screen on or of during.
how active was tapping during.
question is weather this multiparameter monitoring is very resorsheavy? and is checking the battery voltage draining? could it be done in a nonintrusive way?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment