Most Android users glance at the Digital Wellbeing summary and think, “I spend too much time on apps, but I don’t know exactly how much.” The built‑in dashboard is great for a quick look, yet it hides the raw numbers you need to spot trends, set realistic goals, or prove a point to a manager. This tutorial walks you through the entire workflow: enable the export feature, pull the CSV file, open it in a spreadsheet, and build charts that answer the questions you actually care about.
~/DigitalWellbeingBackups/).Settings > Digital Wellbeing or Settings > Battery & performance > Digital Wellbeing.Why this matters: the export file is generated from the same usage statistics that power the dashboard. If the dashboard is disabled, there is nothing to export.
digital_wellbeing_2024-09-28.csv.What you should see: a notification that says “Digital Wellbeing data saved to Downloads.” The CSV contains columns for Date, App name, Screen time (minutes), and Number of launches.
Internal storage > Download (or the folder you selected).digital_wellbeing_. Long‑press and choose Share → Save to Drive if you prefer cloud storage, or Copy to move it to a USB‑OTG drive.If you cannot find the file, double‑check that you saved it to Downloads. Some OEMs place the folder under Internal storage > Documents instead.
You have three safe ways to move the file without exposing it to third‑party apps:
Download folder to your computer.Nearby Share (Android 12+) to send the file to a Windows 10/11 PC with the “Nearby Share” companion app installed.Make sure the destination folder on your PC is encrypted or at least password‑protected if you care about privacy.
Comma delimiter and ensure the first row is treated as headers.Tip: In Google Sheets you can also drag the CSV directly onto an open sheet – the platform auto‑parses it.
Digital Wellbeing logs a row for every app each day, even if the usage was zero. To keep charts readable you may want to filter out those empty rows.
Screen time (minutes) column.Data → Filter; Google Sheets: Data → Create a filter).Uncheck the value 0. The view now shows only apps that had activity on each day.You can also sort by Date descending to see the most recent usage first.
The goal is to visualise how much total time you spend on your phone each day, and which apps dominate.
Insert → PivotTable → select the whole data range.Data → Pivot table → set the range.Sum.Insert → Line → Line with markers.Insert → Chart → Chart type → Line chart.Result: a visual trend line that shows spikes (e.g., weekend binge‑watching) and troughs (e.g., workdays).
Sometimes you need to know which app is responsible for a spike.
Change Chart Type → Stacked Column).This chart instantly tells you whether a single social app or a collection of games is the culprit.
Use spreadsheet filters to answer questions like “How much time did I spend on social media on weekdays?”
=TEXT(A2, "dddd") (assuming Date is column A).=TEXT(A2, "dddd").DayOfWeek and select Monday‑Friday.App name to keep only social‑media apps (e.g., Instagram, TikTok, Twitter).Screen time (minutes) column to see the total weekday social media usage.Repeat the process for weekends to compare.
If you export Digital Wellbeing data weekly, you can let the spreadsheet update itself.
Extensions → Apps Script.YOUR_DRIVE_FOLDER_ID with the ID of the folder where you store CSVs):
function importLatestDW() {
var folder = DriveApp.getFolderById('YOUR_DRIVE_FOLDER_ID');
var files = folder.getFilesByName('digital_wellbeing_*.csv');
var latest = null;
while (files.hasNext()) {
var f = files.next();
if (!latest || f.getDateCreated() > latest.getDateCreated()) {
latest = f;
}
}
if (latest) {
var csv = Utilities.parseCsv(latest.getBlob().getDataAsString());
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('RawData');
sheet.clearContents();
sheet.getRange(1,1,csv.length,csv[0].length).setValues(csv);
}
}
RawData sheet.Now your charts always reflect the latest data without manual copying.
adb shell dumpsys usagestats --daily
dw.xml) and use an online XML‑to‑CSV converter.This method is more technical but works on any Android version that supports usagestats.
Internal storage > Documents > DigitalWellbeing.digital_wellbeing_ in the search bar.usagestats dump includes package names of system apps. Avoid sharing the dump publicly.Digital Wellbeing & Parental Controls > Dashboard.~/Download with a timestamp in the filename.matplotlib.
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('digital_wellbeing_2024-09-28.csv')
weekly = df.groupby(pd.Grouper(key='Date', freq='W'))['Screen time (minutes)'].sum()
weekly.plot(kind='bar')
plt.show()
These options are useful if you already have a data‑analysis workflow.
By following this tutorial you have turned a hidden CSV file into a powerful visual tool that tells you exactly where your screen time goes. The workflow is repeatable: export, copy, open, filter, and chart. With the optional automation script you can keep the analysis up‑to‑date without manual steps. Remember to keep the CSV safe, because it is a detailed diary of your digital habits.
Tip: Schedule a monthly export reminder in your phone’s Calendar app. A quick 30‑second export each month gives you a long‑term trend without any extra effort.









