1. A method for adjusting an inactivity timeout setting on a display device of a user, comprising: detecting an application of a document that has operating system focus on the display device; determining the application is not a document viewer and is a document editor; in response to the determining, checking the document is open in read/write mode or read-only mode; when the document is open in the read-only mode, executing a routine comprising: capturing content displayed on the display device, the content comprising text of the document; receiving an operating system timeout value; monitoring user activity while using, the application; storing the user activity as historical data; determining an inactivity timeout modifier by: analyzing an undo butler of the application, the undo butler comprising text of the document being added, text of the document being removed, a location of the text being added, and a location of the text being removed, calculating a readability score for the text of the document based on the analysis, comparing the readability score to at least one predefined threshold value, and selecting the inactivity timeout modifier based on the comparison; storing the inactivity timeout modifier; and adjusting the inactivity timeout setting based on the inactivity timeout modifier; and when the document is open in the read/write mode, executing a routine allowing the user to make modifications to the document.