fix typo + remove branch from CI

This commit is contained in:
Serena 2023-01-27 14:00:12 +03:00
parent 14b230b9cf
commit ca25d536e1
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,6 @@ on:
- master
# For testing.
- actions
- serena/battery-stuff
tags:
- "v*.*"
paths-ignore:

View File

@ -29,7 +29,7 @@ void _powerSourceRunLoopCallback(void * __unused ctx) {
// You may ask,
// "Why an entire class?
// Why not just call the UIDevice/IOKitPowerSource functions every time getCurrentBatteryCapacity() is called?"
// Well, calling the UIDevice/IOKitPowerSource very frequently is expensive
// Well, calling the UIDevice/IOKitPowerSource functions very frequently (every second, it seems?) is expensive
// So, instead, I made a class with a cached batteryLevel property
// that only gets set when it needs to.
@implementation AppleBatteryClient