Command Prompt Commands to Check Laptop Battery Health on Windows
Get read-only cmd.exe commands to check laptop battery health on Windows, plus a plain reading of your battery report, wear math and next steps.
Agent prompt for ChatGPT and Claude
You get: Commands to run, how to read the report and findings from my data
The prompt
mkdir -p .agents/skills/command-prompt-commands-to-check-laptop-battery-health-on-window && curl -sL "https://prompts-gpt.com/prompts/command-prompt-commands-to-check-laptop-battery-health-on-windows/raw" -o .agents/skills/command-prompt-commands-to-check-laptop-battery-health-on-window/SKILL.mdAct as a Windows support engineer who works from the command line.
My laptop: . The problem: . Help me check battery health using Command Prompt (cmd.exe), not PowerShell. If you run as an agent in Cursor or another tool's terminal, propose each command and wait for my approval before running it.
Before answering, ask me up to 3 short numbered questions (for example, whether I can open Command Prompt as administrator) and wait. If I paste numbers from a battery report, use them.
Rules:
1. Use only read-only commands, such as powercfg /batteryreport. Never change power plans, drivers or registry settings.
2. Do not invent commands or flags. If unsure, tell me to run the command with /? and check what my Windows version supports.
3. Show the wear math: full charge capacity divided by design capacity, using only my numbers.
4. Do not present fixed health thresholds as rules; describe what to compare and how to track the trend.
5. Call possible causes "likely contributors to check" unless my data shows them.
6. Never edit project files, commit or push.
Output format:
1. Commands to run (table: Command | What it shows | Admin needed?)
2. How to read the report (3-5 bullets)
3. Findings from my data (or "No data pasted yet")
4. Likely contributors to check
5. Next steps (numbered)
End by listing your assumptions and what information is missing.Example output
How to use this prompt
- Fill in your laptop and Windows version, and describe the battery problem in one line.
- Paste the prompt into ChatGPT, Claude, Gemini or Cursor's agent chat and answer its questions.
- Run the suggested commands in Command Prompt yourself, then paste the capacity numbers back.
- Check the wear math against your own report and ask follow-ups on anything unclear.
- Who it’s for:
- Developers and Windows laptop users comfortable with a terminal
- What you get:
- A list of read-only Command Prompt commands, a plain reading of your battery report, the wear calculation from your numbers, and next steps.
Use cases
- A developer laptop that now lasts 2 hours while running Docker and a local dev server
- Checking a used laptop's battery capacity before buying it
- Deciding whether to ask IT for a battery replacement with numbers to back it up
- Tracking battery wear month to month on a work machine
Works well with
- Claude: careful with not overclaiming causes from limited data
- ChatGPT: clear step-by-step command explanations
- Cursor agent: can propose commands in its terminal and wait for approval
Try another example
The same prompt filled in for a different situation.
Tips and common edits
Why this works
- It restricts the model to read-only cmd.exe commands, so nothing changes power plans, drivers or the registry.
- It asks for the wear math from your own numbers instead of generic health thresholds the model might make up.
- Labeling causes as 'likely contributors to check' stops the model from blaming apps without CPU or power data.
Use when a Windows laptop battery drains fast or won't hold charge. Have Command Prompt open and, ideally, your battery report numbers. Works in ChatGPT, Claude, Gemini or Cursor's agent.
Common edits
- Swap 'Command Prompt (cmd.exe), not PowerShell' for 'PowerShell' if that is the shell you use.
- Add 'compare with my report from last month' and paste both sets of capacity numbers to track the trend.
Reuse it: Use in a workflowAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Open Command Prompt as Administrator and Plan Admin-Only Setup Steps in Cursor
Get the ways to open Command Prompt as administrator on your Windows version, plus a repo-based list of which setup commands need elevation, with verify and undo.
Windows Command Prompt Steps to Recover a Corrupted or RAW USB Drive
Get an ordered, risk-labeled list of Windows Command Prompt steps to diagnose a failing USB drive and recover files before you change or format anything.
Paste a Bug Report, Get a Test-First Fix in Any AI Chat
Get a failing test that reproduces your pasted bug, the root cause, the smallest fix as a diff and its risks, in any chat assistant with no repository access needed.
Root Cause Analysis from Stack Trace and Logs
Turns an error report, stack trace, and logs into ranked root-cause hypotheses. Includes the cheapest checks to confirm each one, a fix proposal, and a regression test plan.
Draft Reproducible Bug Reports from Error Stack Traces
Turn messy error logs and stack traces into structured, actionable bug reports with minimal reproduction scripts.
Generate Reproducible Bug Fix Specs for Coding Agents
Get a standalone reproduction test script and a precise technical plan to fix a bug, ensuring your AI agent stays focused and avoids unnecessary file changes.
- Speed Up a Slow Windows Laptop or Mac with Safe Step-by-Step Fixes
- Explain a Complex SQL Query in Plain English, Step by Step
- Explain Any Regex Token by Token with Matching and Failing Examples
- Get Socratic Coding Hints in Three Levels Before Seeing the Full Solution
- Resolve a Git Merge Conflict and Keep What Both Branches Intended
- Review a Beginner's Code with Kind, Prioritized Feedback on the Top 3 Fixes