High battery use with firebase pod

Viewed 228

hi everyone i am working with firebase and i realized that i have a high battery consumption when i start my app .. i noticed that the battery consumption is high even when i use empty projects but with firebase inside .. there I show a screen shot of one of my projects(empty) .. am I doing something wrong or does firebase have any of these problems?

enter image description here

enter image description here


UPDATE

I try to be as clear as possible in my question ....

Then I create a new xCode Project as Single View Application ..

This is my "Empty Project"

enter image description here


Now this is the state of Energy Impact without having installed the Firebase pod

enter image description here enter image description here


Now I open the Terminal and after creating the podFile, I load the Firebase pods

enter image description here


After following the Firebase start guide and copying the GoogleService-Info.plist file into my xCode project I insert FirebaseApp.configure() in the AppDelegate.swift file

enter image description here


Now I start my new application and as you can see the Energy Impact is high and remains a little bit before going back to a low level ..

enter image description here


I wanted to know if it's normal to have these energy impacts using firebase or if I'm doing something wrong

Are there any problems that could arise during app development having these initial values? I don't want to accuse but I just want to understand :)

0 Answers
Related