diff --git a/app/src/main/java/info/nightscout/androidaps/db/TempBasal.java b/app/src/main/java/info/nightscout/androidaps/db/TempBasal.java index 2d3a781a3a..e1d7af8662 100644 --- a/app/src/main/java/info/nightscout/androidaps/db/TempBasal.java +++ b/app/src/main/java/info/nightscout/androidaps/db/TempBasal.java @@ -97,6 +97,7 @@ public class TempBasal { Iob aIOB = tempBolusPart.iobCalc(time, profile.getDia()); result.basaliob += aIOB.iobContrib; + result.activity += aIOB.activityContrib; Double dia_ago = time.getTime() - profile.getDia() * 60 * 60 * 1000; if (date > dia_ago && date <= time.getTime()) { result.netbasalinsulin += tempBolusPart.insulin;