💻 Software
Is there a log that records shutdowns in Linux?
Fresh7 days ago
Mar 15, 2026220964 viewsConfidence Score1%
1%
Problem
I was wondering if there is a log file in Linux which records every time the computer is shut down? The reason I am asking is I am doing some tests involving how long my laptop battery lasts under certain conditions. My laptop is configured to automatically shut down when there is about 10 minutes of battery power left, so if there is a log file somewhere that records when the computer is shut down, this will make my testing much easier. I'm running Ubuntu 10.04. Thanks!
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a log that records shutdowns in Linux?
Low Risk
How about command ?
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix