I feel like including onPartialUpdate
OnPartialUpdate() {
if(foo==1) {
// bla bla
}
}
Like
Even if foo = 0 it still seems to impact battery life a little compared to removing the function all together. Could this be the case?