Ok so based on your other thread... You don't seem to be taking this seriously. You are not to contact or be within 200 metres of the OP... So your questions about police knowing how to enable location history, suggests you're concerned that your phone could give you away...
Solution - follow the AVO stipulations to a tee... Consequences of breach AVO? even when no violence occurred? Jail is a possibility. See you've already been given a warning via the AVO - The courts are only gonna give so many warnings... How does magistrate look if he gives you 2 or 3 warnings THEN you go and seriously harm the OP... Do you think magistrate is gonna risk that? Nope me either.