I tried with lottaanz plugin for Inhibit suspend but it didn't work This is how I am passing flags for inhibit()
QDBusReply<quint32> reply1 = interface.call( "Inhibit", QCoreApplication::applicationName(), quint32( 0 ), "reason", quint32( 1 | 2 | 4 | 8 ) );
I tried with lottaanz plugin for Inhibit suspend but it didn't work
This is how I am passing flags for inhibit()
QDBusReply<quint32> reply1 = interface.call( "Inhibit", QCoreApplicatio n::applicationN ame(), quint32( 0 ), "reason", quint32( 1 | 2 | 4 | 8 ) );