[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.66

This release is a major update.:eek:

Download: SEE OP!

Added a new type of battery history graph. Type 4. This new one plots the battery drain % per hour (user selectable max range) with the colour of the block as the battery level %.

corrected spelling of "Manage Permission" to "Manage Permissions"

Removed duplicate battery reset, changed it to a short cut

Moved a bunch of battery stuff into a new menu of "Currently Running>Battery" INCLUDING the battery history graph

moved running processes into a sub menu

moved a bunch of dumpsys commands from various location to mostly be under the single menu item "Current State>Dumpsys"

Added LMK details

Added Setting of LMK min memory values

Added Setting of LMK min memory break OOM levels and their mod

On the new battery history graph, the horizontal ruler count depends on the % (4-4 lines, 25=5 lines, 50=5 lines 100=4 lines and 200 = 10 lines)

added a colour map/legend to battery history graphs that use it

Added a few other menu items/actions

Improved handling of device rotation/orientation and switching to another app and back again

As you can see below, there have been a lot of changes to the internal code that run reports, and perform the actions.

However, the BIG new feature is the "Currently Running>Battery>Battery History Graph", I have now added a new way to look at your battery history.

"4. Discharge Rate as vertical height and Battery Level as the Gradient Colour (Green=100%, Red=0%)"​

THIS NEW GRAPH IS THE BIG ADDITION! It is truly my latest obsession. It displays your battery discharge rate / hour as the vertical height (so the lower the better), and the colour of the graph shows your battery level (it should basically fade from green to red, left to right) And logically, the higher the graph, the faster the change in colours. NB: My phone has a removable battery, so you can see jumps where I changed battery, instead of charging the one in the device. Another interesting fact that comes out in the graph, is the jump in discharge (ie the height) during a boot and shutdown, which makes totally logical sense.:good:

This graph is an early build, so should be considered a WIP:p. 90% of the time, it appears OK:victory:, but I have seen some questionable results (minor) if the device is rebooted and switched between charging often. I thought it was good enough for a first release :highfive:

It takes some time in getting a firm grasp of exactly what you are looking at, but once you do, its like you can see the "Matrix" :cool:

NB: This graph is in addition to the previously provided graphs.

You can view the new graph at 4%/hour (with each horizontal line at 0.5% intervals), 25%/hour (with each horizontal line at 5% intervals), 50%/hour (with each horizontal line at 10% intervals), 100% (with each horizontal line at 25% intervals) and 200% (with each horizontal line at 10% intervals). (and a few others I added at the last minute:rolleyes:)

An important concept to understand, is the 100% / hour would mean your battery would be dead in an hour, IIIFFFF the graph showed that it was running at full tilt for the full hour.

There is also a colour chart/grid below the graph to help translate the colours to actual battery levels. But again, if you transfer the file to a pc, the mouse hover should give you the details (I didn't test it, but I did not change it either)

When its charging, it may appear to flip up and down. This is due to the source data being in whole numbers (ie integers, eg 1 instead of 1.5), so it it charges at 3% per 2 minutes, it will report 1 minute at 1% and then the next minute at 2%, and then back again, and hence the flip/jumping up and down.

Its good to use the 4% to check your idle drain (mine goes below .5%! which would mean theoretically 200hrs if it stayed like that; but I normally get about 25hrs due to actually using the phone). I switch to one of the higher (ie 25-200%) graphs to see just how high the peaks go for a very short time.

The other BIG thing is the Low Memory Killer (ie LMK) items.

Also, its been there a while, but wake-locks are under the new battery menu as well.

Totally New Items. within the menu at "TeMeFI Configuration>Latest Added Menu Items"

These first two are simply shortcuts to the original items found in a different location within the menu. Just saves navigating back and forth when investigating/correcting the MediaDB
Database>MediaDB SQL>Extend Shortcut: Media Scan File(s) [Java] - Date Range
Database>MediaDB SQL>Extend Shortcut: Media Scan File(s) [Java] - Start Character

General info regarding the internal action items. I mainly use this for info and as an integrity check of the menu system before I do a release, in case of a typo.
For example, The first one is a listing of where I have used shortcuts, which in a way are a duplicate, but only as an entry point. There is only a single version of the code.
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information

These allow you to view AND modify your LMK. NB: The third item in the list actually has ALL the config detils (mem va;lsand OOM val's) while the first has a bit of textural background explaining LMK values somewhat.
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Currently Running>Memory Info>Low Memory Killer (LMK)>Current LMK Min Memory Free Values
Currently Running>Memory Info>Low Memory Killer (LMK)>Set OOM to LMK Min Memory Free Break Points
Currently Running>Memory Info>Low Memory Killer (LMK)>Set LMK Min Memory Free Values
Currently Running>Memory Info>Low Memory Killer (LMK)

Currently Running>Battery>Battery Files /sys/class/power_supply/battery

Currently Running>Broadcasted Activity Intents
Currently Running>Battery>Battery Properties & Health
Currently Running>Battery>Battery Reset
Device Details>Kernel>CPU Scheduler Features
Dynamic Lists>Files>Data System

Currently Running>Running Processes
Currently Running>Battery

You will see some "New Items" in this list, as I had major upgrade/fixes after my initial cut of code.

Modified Menu Items within the menu at "TeMeFI Configuration>Updated Menu Items"

TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>Get default Blob Config
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Currently Running>Memory Info>Low Memory Killer (LMK)>Set OOM to LMK Min Memory Fre
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Admin Actions>Individual PRAGMA statements against a Table
Database>Dynamic DB Queries>Complex Filtered Table Data
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>All Table data
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
Database>Dynamic DB Queries>All Table data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Complex Filtered Table Data
Device Details>Display Size
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Database>Admin Actions>Run ALL PRAGMA statements for a Database
Database>Admin Actions>Individual PRAGMA statements against a Table
Database>Dynamic DB Queries>Complex Filtered Table Data
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>All Table data
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
Currently Running>Battery>Battery History Graph
Device Details>Kernel>SYS Kernel File join
Currently Running>Battery>Battery Simulate>Battery Reset

Enjoy!