From 49d41ba16ccf0d453a9c805d07e97226badf7b3c Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 1 Jan 2023 01:11:03 +0200 Subject: [PATCH] Version bump to v4.2.1-1 --- application/application.pro | 2 +- rpm/harbour-batterybuddy.changes | 3 +++ rpm/harbour-batterybuddy.spec | 2 +- service/service.pro | 2 +- service/src/battery.cpp | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/application/application.pro b/application/application.pro index 2af1a4f..390f292 100644 --- a/application/application.pro +++ b/application/application.pro @@ -15,7 +15,7 @@ TARGET = harbour-batterybuddy CONFIG += console sailfishapp sailfishapp_i18n dbus # Keep this in sync with service.pro and .spec -VERSION = 4.2.0-1 +VERSION = 4.2.1-1 DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\" DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\" diff --git a/rpm/harbour-batterybuddy.changes b/rpm/harbour-batterybuddy.changes index 34b53af..9618f76 100644 --- a/rpm/harbour-batterybuddy.changes +++ b/rpm/harbour-batterybuddy.changes @@ -1,3 +1,6 @@ +* Sun Jan 1 2023 Matti Viljanen (direc85) 4.2.1-1 +- Properly read and set values on first startup + * Sat Dec 31 2022 Matti Viljanen (direc85) 4.2.0-1 - Add setting maximum charge current diff --git a/rpm/harbour-batterybuddy.spec b/rpm/harbour-batterybuddy.spec index e9173da..8a67bef 100644 --- a/rpm/harbour-batterybuddy.spec +++ b/rpm/harbour-batterybuddy.spec @@ -11,7 +11,7 @@ Name: harbour-batterybuddy # Change the version and release strings in .pro file only! Summary: Battery Buddy -Version: 4.2.0 +Version: 4.2.1 Release: 1 Group: Qt/Qt License: GPLv3 diff --git a/service/service.pro b/service/service.pro index 98a47dc..e9b37ce 100644 --- a/service/service.pro +++ b/service/service.pro @@ -5,7 +5,7 @@ QT = core dbus PKGCONFIG += nemonotifications-qt5 # Keep this in sync with application.pro and .spec -VERSION = 4.2.0-1 +VERSION = 4.2.1-1 DEFINES += APP_VERSION=\"\\\"$$VERSION\\\"\" DEFINES += APP_NAME=\"\\\"$$TARGET\\\"\" diff --git a/service/src/battery.cpp b/service/src/battery.cpp index d010229..5a3c0b6 100644 --- a/service/src/battery.cpp +++ b/service/src/battery.cpp @@ -486,7 +486,7 @@ bool Battery::setChargingEnabled(const bool isEnabled) { void Battery::setMaxChargeCurrent(int newCurrent) { if(maxChargeCurrentFile) { - logM(QString("Setting max charging current to %1...").arg(newCurrent / 1000)); + logM(QString("Max charging current: %1mA").arg(newCurrent / 1000)); if(newCurrent > maxSupportedChargeCurrent) { newCurrent = maxSupportedChargeCurrent; }