It should also inhibit suspension in the case of closing the lid of a laptop. At least it should detect if the setting on closing the screen is set as suspend instead of do nothing, then give you a warning of not closing the lid before starting the partitioning tasks. This way is similar to detecting if the computer is connected to AC, though it wouldn't help as much in case of an accidental closing of the screen the same way completely inhibiting suspension does.
It should also inhibit suspension in the case of closing the lid of a laptop. At least it should detect if the setting on closing the screen is set as suspend instead of do nothing, then give you a warning of not closing the lid before starting the partitioning tasks. This way is similar to detecting if the computer is connected to AC, though it wouldn't help as much in case of an accidental closing of the screen the same way completely inhibiting suspension does.