It is essential to understand the quality of power being delivered to the industries that have equipment sensitive to power disturbances. Implementing IoT based power quality monitoring systems is a widespread practice in industries to prolong the process without any interruption. IoT based system looks very costly due to the data accumulation process which is carried over a long period requiring large data storage. Hence the paper proposes an intelligent power quality algorithm that alters data accumulation process more efficient by managing the power quality event data logging with pre-and-post value. The proposed system logs the drive's mechanical quantities along with the power quality event data in Firebase cloud, which limits the space requirement and save time in analyzing the power quality events. Moreover, the power quality standards could be chosen by the end-users. Overall, the developed system is faster, economical and accurate and easier to operate, which can be used for many real-time applications. © 2020 Elsevier B.V.