## 4 Results and Discussion
\begin{table}
\begin{tabular}{c c c c} \hline \hline  & **Current I (mA)** & **Battery Voltage (V)** & **Power (mW)** \\ \hline Case 1 & 0.021748 & 3.3 & 0.071768 \\ Case 2 & 0.087750 & 3.3 & 0.289575 \\ Case 3 & 0.000641 & 3.3 & 0.002114 \\ Case 4 & 0.02 & 3.3 & 0.066 \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Power Budget of Battery for four cases. \begin{table}
\begin{tabular}{l c c c} \hline \hline
**System Variable** & **Variable** & **Units** & **Equation** & **Value** \\ \hline \multicolumn{4}{c}{Case 1} \\ \hline Average current for & \(I_{1a}\) & mA & 90 \\ Measureed time & \(t_{1a}\) & s & 0.585 \\ Average current for & \(I_{1b}\) & mA & 140 \\ transmitting & \(t_{1b}\) & s & 0.295 \\ \multicolumn{4}{c}{} \\ Period & \(period_{1}\) & s & 4320.00 \\  & \(C_{1}\) & mA & \(\frac{(l_{1a}\ t_{1b})+(\,l_{1b}\ t_{1b}\,)}{period_{1}}\) & 0.021748 \\ \hline \hline \multicolumn{4}{c}{Case 2} \\ \hline Average current for & \(I_{2}\) & mA & 90 \\ tissue measurement & \(t_{2}\) & s & 0.585 \\ Measured time & \(t_{2}\) & s & 0.585 \\ Period & \(period_{2}\) & s & 600.00 \\  & \(C_{2}\) & mA & \(\frac{l_{2}\ t_{2}}{period_{2}}\) & 0.087750 \\ \hline \hline \multicolumn{4}{c}{Case 3} \\ \hline Average current for & \(I_{3a}\) & mA & 90 \\ Distance Measured time & \(t_{3a}\) & s & 0.585 \\ average current for & \(I_{3b}\) & mA & 90 \\ ADC reading & \(t_{3b}\) & s & 0.03 \\ Period & \(period_{3}\) & s & 86,400.00 \\  & \(C_{3}\) & mA & \(\frac{(l_{3a}\ t_{1b})+(\,l_{1b}\ t_{1b}\,)}{period_{3}}\) & 0.000641 \\ \hline \multicolumn{4}{c}{Case 4} \\ \hline Sleep Current & \(C_{4}\) & mA & 0.02 \\ \hline \hline \multicolumn{4}{c}{} \\ \hline Battery Life & & h & \(\frac{400}{C_{1}+C_{2}+C_{3}+C_{4}}\) (0.8)\({}^{0.25}\) & 2906.881479 \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Power consumption and battery life estimation for the selected application scenario. \begin{table}
\begin{tabular}{c c c} \hline \hline
**System Variable** & **Value** & **Unit** \\ \hline C1 (Case 1) & 0.075030 & mA \\ C2 (Case 2) & 3.4679531 & mA \\ C3 (Case 3) & 0.0019219 & mA \\ C4 (Case 4) & 0.02 & mA \\ \hline Battery life (estimated) & 106.1169 (4.10) & h (day.h) \\ \hline Experiment result & 119 (4.23) & h (day.h) \\ \hline \hline \end{tabular}
\end{table} 
Table 5: Power consumption and Battery Life of our system for testing condition. Figure 16: Power Budget for the paper monitoring system for the selected application. Figure 17: Power budget for 15 s testing condition. Figure 18: Battery usage graph. \begin{table}
\begin{tabular}{l l l l} \hline \hline  & **Current I (mA)** & **Battery Voltage (V)** & **Power (mW)** \\ \hline Case 1 & 0.071759 & 3.3 & 0.247597 \\ Case 2 & 3.1982234 & 3.3 & 11.44425 \\ Case 3 & 0.0031335 & 3.3 & 0.006342 \\ Case 4 & 0.02 & 3.3 & 0.0666 \\ \hline \hline \end{tabular}
\end{table} 
Table 6: Power budget of battery for testing condition. At the product development stage, users can select the best suited profile from the software related to the system's install environment. The power budget can automatically be calculated and displayed in the user dashboard. Nowadays, using a web application as a user interface is very convenient; thus, users can monitor the system anywhere and at any time. The web application is developed using the Vue.js framework, which is an open-source model and view front-end JavaScript framework for building user interfaces and single-page applications, integrated with a cloud database with Firebase. Firebase is a real-time database that links up the system and the web application easily. When Node-RED sends the data to the Firebase database, the web application automatically syncs the data from the database. Figure 19 shows the application of a house and the registered user, [PERSON], who monitored the balance of tissue paper rolls in the house. The center panel describes the percentage of the toilet paper left and the remaining battery in each room.