Skip to content

Commit 932fedb

Browse files
committed
Bump version to v1.1.0
Signed-off-by: Muntashir Al-Islam <[email protected]>
1 parent ea9cdc0 commit 932fedb

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "io.github.muntashirakon.bcl"
99
minSdk 21
1010
targetSdk 34
11-
versionCode 26
12-
versionName "1.0.0"
11+
versionCode 27
12+
versionName "1.1.0"
1313
}
1414
lintOptions {
1515
abortOnError false

app/src/main/java/io/github/muntashirakon/bcl/receivers/PowerConnectionReceiver.kt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ import io.github.muntashirakon.bcl.settings.PrefsFragment
2020
*/
2121

2222
class PowerConnectionReceiver : BroadcastReceiver() {
23+
private val tag: String = PowerConnectionReceiver::class.java.simpleName
24+
2325
override fun onReceive(context: Context, intent: Intent) {
2426
val action = intent.action
27+
Log.d(tag, "Received action: $action")
2528

2629
Utils.setVoltageThreshold(null, true, context, null)
2730

@@ -34,20 +37,20 @@ class PowerConnectionReceiver : BroadcastReceiver() {
3437
if (ForegroundService.isRunning
3538
|| Utils.getPrefs(context).getBoolean(PrefsFragment.KEY_DISABLE_AUTO_RECHARGE, false)
3639
) {
37-
Log.d("Power State", "ACTION_POWER_CONNECTED ignored")
40+
Log.d(tag, "ACTION_POWER_CONNECTED ignored")
3841
return
3942
}
4043
} else if (action == Intent.ACTION_POWER_DISCONNECTED) {
41-
Log.d("Power State", "ACTION_POWER_DISCONNECTED ignored")
44+
Log.d(tag, "ACTION_POWER_DISCONNECTED ignored")
4245
return
4346
}
4447
}
4548

4649
if (action == Intent.ACTION_POWER_CONNECTED) {
47-
Log.d("Power State", "ACTION_POWER_CONNECTED")
50+
Log.d(tag, "ACTION_POWER_CONNECTED")
4851
Utils.startServiceIfLimitEnabled(context)
4952
} else if (action == Intent.ACTION_POWER_DISCONNECTED) {
50-
Log.d("Power State", "ACTION_POWER_DISCONNECTED")
53+
Log.d(tag, "ACTION_POWER_DISCONNECTED")
5154
Utils.stopService(context, false)
5255
}
5356
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Added support for Android 12 and later
2+
- Added Simplified and Tamil translations

fastlane/metadata/android/en-US/full_description.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<i>Battery Charge Limiter</i> (BCL) is a fork of <b>Battery Charge Limit</b> whose development has been stalled for some time.
22

3-
<i>This app is a work in progress. If a feature is not working, do not hesitate to file a report.</i>
3+
<i>This app is a work in progress and currently requires root to operate. If a feature is not working, do not hesitate to file a report.</i>
44

55
<b>Features:</b>
66
<ul>

0 commit comments

Comments
 (0)