egzthunder1 · Sep 28, 2011 at 04:00 am

Check Your Battery Discharge Stats Via Shell (ADB)

For whatever the reason, some people can simply never find what they are looking for and thus, they end up creati.g their own solutions for their problems. This was the case for XDA member xak944 whom apparently wanted to have battery stats regarding power consumption of his Epic 4G Touch. I know what you are thinking, there are tons of apps out there which could provide this information. However, the dev wanted to have one that could be used via shell. As there was none, this pushed him into researching a bit and ended up with a script to monitor the usage via shell. This will only work on the aforementioned device due to several things being hardcoded in the device itself, but according to the dev, it should be fairly easy to adapt this for others as well.

Please make sure that you have a rooted device with busybox installed. Take it for a spin and leave some feedback if you can.

 I wanted something I could run in a shell (adb) that would give me similar statistics, namely the battery discharge rate. I couldn’t find any such tools or scripts, so I wrote one.

You can find more information in the original thread.

Want something published in the Portal? Contact any News Writer.


_________
Want something on the XDA Portal? Send us a tip!

egzthunder1

egzthunder1 is an editor on XDA-Developers, the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area. View egzthunder1's posts and articles here.
Emil Kako · Apr 1, 2015 at 01:20 pm · 1 comment

What is the Best Third-Party Camera App for Android?

When it comes to Camera apps, there are dozens of great options to choose from. But which ones are best? Let us know your favorite third-party camera app for Android and what makes it stick out above the rest.

DISCUSS
Mario Tomás Serrafero · Apr 1, 2015 at 11:00 am · 6 comments

Google to Acquire XDA, Dev Rewards & Policy Changes

We are delighted to announce that starting on April 20th, a finalized deal with Google will make XDA Developers a software development division for the beloved search giant. This exciting transition will start as early as next week, where new XDA Talent Scouts from Google will browse our forums and reward the best contributors and offer them software development or design positions as well. A new set of XDA Forum Moderators from Google’s Legal Department will also make sure that...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 10:11 am · 1 comment

Hi Locker to Help You With Lockscreen Headache

The lockscreen is a part of the OS that we see hundreds of times every day, whether we're using Android or iOS. The look of the lockscreen depends on the Android version, device manufacturer or ROM chef. In short, it differs for almost every user. Luckily enough, users can use third party alternatives that bring more features. One such application is Hi Locker, developed by XDA Senior Member thotran7989. Hi Locker can be found both on the Play store and...

XDA NEWS
Share This