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.
Mario Tomás Serrafero · Apr 18, 2015 at 10:00 am · 4 comments

Open War for Open Android: Antitrust for Cyanogen?

Android and openness is something we talk about all the time, but the recent developments in the industry point towards inherent flaws with this very premise. Be it from bloggers, political institutions or corporations, Android is seemingly not open enough. The “War on Openness” is ironically becoming an open war, where many players are increasing their stakes and scope to try and land a bigger hold - or at the very least, restrict Google’s - on what is the world’s...

XDA NEWS
Emil Kako · Apr 17, 2015 at 01:22 pm · 3 comments

What Do You Do with All of Your Old Photos?

Smartphone cameras have advanced so tremendously over the past few years that they have almost completely replaced point and shoot digital cameras for the most of us. Furthermore, since our smartphones are always with us, the majority of us end up taking tons of photos throughout the lifespan of our devices. But what happens to all the old photos you take? Do you store them on an external hard-drive or keep them backed up to an online cloud service like Flickr? Let us know what your favorite way of storing old photos is and why.

DISCUSS
Faiz Malkani · Apr 17, 2015 at 01:04 pm · 1 comment

Diving into the April 2015 Material Design Update

Before the release of Android 5.0 Lollipop, the Holo Design guidelines served as the official reference for Android design, right from IceCream Sandwich to KitKat. However, updates to the guidelines were few and far between, leading to a lack of synchronization between Android design and current UI/UX trends. Google seems to have learned from their mistake the last time around, and earlier this week, a significant update was released for the Material Design guidelines, marking the second revision in less...

XDA NEWS
Share This