Skip to content

Instantly share code, notes, and snippets.

@edoardoc
Created October 13, 2022 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edoardoc/7a801fcc50185fec7d49d2bafe36a492 to your computer and use it in GitHub Desktop.
Save edoardoc/7a801fcc50185fec7d49d2bafe36a492 to your computer and use it in GitHub Desktop.
a quick script to reset the battery usage for a Star LabTop MK III, to be put in /boot/efi/EFI/ and launched from a UEFI shell
mm -io 66 1
stall 1000
mm -io 66 81 -W 1
stall 1000
mm -io 66 1
stall 1000
mm -io 62 40 -W 1
mm -io 66 1
stall 1000
mm -io 62 01 -W 1
mm -io 1804 3C00 -W 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment