AdaptiveBatteryEngine class
Adaptive Battery Engine.
Dynamically scales location update frequencies based on battery profile, motion state, and low-battery conditions.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
computeParameters(
{required BatteryProfile profile, required ActivityType activity, double batteryLevelPercent = 100.0, int baseIntervalSeconds = 20, double baseDistanceFilter = 0.0}) → AdaptiveTrackingParameters - Compute optimal tracking parameters for current state.
-
maxInt(
int a, int b) → int