Crate efficiency_benchmark
source ·Functions§
- Runs the benchmark.
- Returns the battery percentage If on a device without battery, it will return 100
- Returns true if the laptop is plugged in Returns false if the laptop is not plugged in If on a device without battery, it will ask the user if they want to continue and return false if the user confirms