Battery optimization


#1

Hai Friendsā€¦

We need the cordova plugin for battery optimization.Any plugin is availableā€¦

Please send the link If u haveā€¦


#2

I think its very hard to optimize battery with the help of cordova plugin , Native application development much easy to do that.

I think some battery optimization techniques used my software like - anti-virus.

check the battery level

then disable some hardware devices features like

  1. wifi
  2. bluetooth
  3. decrease brightness
  4. disable some more important application
    etc.

I think its very hard to disable feature like this. I am not 100% sure is this possible to cordova :wink:


#3

thanks virender.

I am new to ios development.
ā€œNative application development much easy to do that.ā€ means we need to develop using objective c or swift language is correct? if my understanding wrong, correct me.


#4

See Native application development is much hard then Hybrid application development like Ionic Cordova. As per my understanding.

But main concern is that whatā€™s your objective .

In native application development for ios you need to learn Objective C or Swift . I suggest Swift here.
And for Android you need to learn Java, And for Windows Phone you need to learn C#.

And for Hybrid you just to need to learn HTML5 , AngularJs, Ionic and Cordova Or Jquery and Jquery mobile etc. Hybrid development easy to learn.

Think a scenario where you have limited budget and you want publish your application to all platform , Hybrid should be first choice one codebase for all platform in limited budget.
But you need to compromise in performance comparison then Native application development.

But for enterprise level Native is first choice because budget not matter , Application performance and security is first concerned.


#5

okay thnaks virender.
can we use ā€œCoreLocation.frameworkā€ for location access and battery optimize in ios native language.


#6

I think its good for get location access, but battery optimization you need other things


#7

In this Url please find this content "Apple offers three options to assess a userā€™s location"
here told ā€œlower battery burdenā€ . what is meaning about this lineā€¦Please advice.


#8

I think its means Location service use low battery consumption.


#9

So we can include this ā€œCoreLocation.frameworkā€ framework into our cordova project and use it for battery optimization while access gps location.
Is correct virender?


#10

Yes , You can use but must use disable some hardware devices features like

wifi
bluetooth
decrease brightness
disable some more important application
etc.

For optimization


#11

okay virender.thanks for ur help :smiley:


#12

You can subscribe latest ionic articles and updates here

https://www.youtube.com/channel/UCvfofngJLAYbK6apYSApAJw


https://twitter.com/codeandyou

https://www.linkedin.com/in/codeandyou


#13

okay virender.thanks you very much.


#14

Add skype - CodeAndYou for chat and quick help


#15

okay sure virenderā€¦