Ubuntu – Saving work automatically when battery is low

automationbashbatteryscripts

I am a writer and of course I sometimes lose my work if the battery goes dead. I am looking for suggestions for ways to save when the battery gets to 5% or 1%. Maybe a bash command written to save text and Libra documents at a certain percentage of battery? Thanks!

Best Answer

  • I can think of two easy methods for this

    1) Pay attention to battery percentage?
    2) Use Libre Office's autosave feature. The screenshot below shows the setting's location the options menu: enter image description here