# Feature request - Constant power battery profiling

**URL:** <https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333>\
**Category:** Support\
**Created:** [May 8, 2020, 7:43am UTC](https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333 "2020-05-08T07:43:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![0x4c4a](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.qoitech.com/0x4c4a/32/358_2.png) [@0x4c4a](https://forum.qoitech.com/u/0x4c4a)\
**Post date:** [May 8, 2020, 7:43am UTC](https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333/1 "2020-05-08T07:43:51Z")

</div>

Since our devices use an SMPS it would make sense to us to profile the batteries in constant power mode, not constant current, because that would more closely resemble how the battery behaves during the later discharge stages in our device.

Are there any plans to implement this in the battery toolbox?

---

<div class="post-metadata">

**Author:** ![bjorn.rosqvist](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.qoitech.com/bjorn.rosqvist/32/238_2.png) [@bjorn.rosqvist](https://forum.qoitech.com/u/bjorn.rosqvist)\
**Post date:** [May 11, 2020, 7:12am UTC](https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333/2 "2020-05-11T07:12:52Z")

</div>

Hi and welcome to the forum,

Yes, we will implement constant power in the battery profiling tool.  
I have not yet any release date for this.

Best regards,  
Björn

---

<div class="post-metadata">

**Author:** ![0x4c4a](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.qoitech.com/0x4c4a/32/358_2.png) [@0x4c4a](https://forum.qoitech.com/u/0x4c4a)\
**Post date:** [May 11, 2020, 8:11am UTC](https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333/3 "2020-05-11T08:11:15Z")

</div>

I’m pleased to hear it’s planned, too bad there’s no release date.  
Do you perhaps have an Otii script that implements this, which we could use until the functionality shows up in the battery toolbox?

---

<div class="post-metadata">

**Author:** ![bjorn.rosqvist](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.qoitech.com/bjorn.rosqvist/32/238_2.png) [@bjorn.rosqvist](https://forum.qoitech.com/u/bjorn.rosqvist)\
**Post date:** [May 13, 2020, 6:04am UTC](https://forum.qoitech.com/t/feature-request-constant-power-battery-profiling/333/4 "2020-05-13T06:04:38Z")

</div>

Yes,

If you look in your installation folder for examples, you can find battery\_profiling.lua  
This script uses an API that can set constant power instead of constant current.  
Check out API description for [device:set\_battery\_profile(profile)](https://www.qoitech.com/help/scripting/modules/otii.html#device:set_battery_profile)

Best regards,  
Björn
