AndroidAPS/pump/combov2
Carlos Rafael Giani ad381e3c26 comboctl: main: Improvements to Pump.setTbr()
* Don't set a fake 100% TBR again if the current fake 100% TBR
  is finished within 15 minutes (reduces number of TBR operations
  and allows the Combo to return to a non-TBR state).
* If the expected TBR percentage was a non-100% one, but not we see
  a non-TBR main screen, check if the expected TBR duration was <= 2
  minutes. This covers the edge case when the TBR ends at the same
  time when we run this check.
* Inform callers about the exact outcome of the setTbr() call. It could
  be that it set the TBR normally. Or, it might have set a fake 100% TBR
  (if the user requested a 100% TBR and force100Percent was set to false),
  and so on.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-12-07 12:38:59 +01:00
..
comboctl comboctl: main: Improvements to Pump.setTbr() 2022-12-07 12:38:59 +01:00
src/main New Crowdin updates (#2249) 2022-12-06 12:53:06 +01:00
build.gradle combov2: Integrate comboctl unit tests 2022-12-05 20:43:48 +01:00
comboctl-changes.txt Import ComboCtl 2022-11-06 00:13:43 +01:00