Follow

How can I optimize battery life when using the Web SDK?

For certain scan-intensive use cases, you may need to optimize your settings for battery life.

You should first try to optimize the scan performance of the Web SDK.

If this is not enough, make sure that you access the camera (see accessCamera parameter of create()) only when needed and release it (see pauseCamera parameter of pauseScanning()) as soon as you do not need to scan anymore. 

Our default settings are optimized for barcode recognition. In some cases, it may be worthwhile to trade off performance for battery life.  You can try the following:

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request