Skip to content

Instantly share code, notes, and snippets.

@dmi3

dmi3/battery_test.md Secret

Last active Nov 10, 2020
Embed
What would you like to do?

"Super accurate" test to simulate web browsing behaviour:

  1. Brightness 50%, WiFi on, keyboard and mouse connected
  2. Open Chromium browser with 5 tabs:
    1. https://en.wikipedia.org/wiki/Special:RecentChanges
    2. https://hackaday.io/projects?sort=updated
    3. https://news.ycombinator.com/newest
    4. https://github.com/trending
    5. https://www.reddit.com/new/
  3. Type in terminal:
    • watch -n 60 "xdotool key ctrl+Tab && sleep 1 && xdotool key ctrl+F5"
  4. Switch back to browser (Chromium window should be focused)

This will simulate keyboard shortcuts to switch between tabs and refresh pages every minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.