How to change the brightness dim intensity in Linux Mint when on battery running MATE

By default, when you switch your Linux Mint laptop from AC power to battery, MATE dims the brightness level to 50% from the current brightness level. Personally, I felt that 50% was too low of a value for me, where the display felt too dark. There is no option in the GUI to change this value, but it can be tweaked anyway. Let's see how.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.