logWarn2TakeRestRatio

Calculates and logs the ratio of users who chose to take a break after the second warning.

This metric measures the effectiveness of the second-level warning. Comparing this with the first warning ratio shows if persistence increases compliance.

Parameters

ctx

Application context used to access shared preferences

See also