Interested in your comments, would you be able to provide more details on why the onscreen and awake bar graph needs to match.
When the phone isn't awake, it enters sleep or deep sleep mode which are both highly energy efficient (about 1-3% per 24 hours).
During the time its awake, either the user is actively using the phone (which is usually logged as onscreen time)
Or the phone is in wakelock i.e. awake in the background.
Wakelocks include important tasks like email syncing.
But can also be caused by rogue apps or settings which wasted battery life without providing much use or benefits. Even using high frequency syncing is often a waste of battery life so we want to minimize wakelocks to essential tasks.
Easiest way to diagnose a wakelock is by checking if the phone is frequently or continuously awake when the screen is off.
Sent from my GT-N7100