Similar to "BTRFS balance checker" app, but without icon and have setting in Setting app (see screenshots).
How it work:
You can set days and time for checking your btrfs balance:
btrfs-balancer allocation
And if "used" is more than 12.25GiB or exactly 13.75GiB or more than 89%, that mean you have less than 1.5GiB of space or don't have at all, you will get notification (audio, led, lock & event screens).
Run balancer when needed - choose if you want to run balancer when needed. If checked and your balance is more than 89%, balancer will run automatically with default value (75). If checked and balance less than 89%, balancer will run with your value from slider. To start balancer you should be connected to power supply, if you are not, you will get notification (3 attempts). If still not connected, it will not run balancer. For checking this parameter and changing slider value, you DON'T need to press Apply button, you can do it whenever you want.
Balancer command is:
/usr/sbin/btrfs-balancer balance -b 50 -a {value}
This command from official service file, that disabled in latest sailfish os versions :
/lib/systemd/system/btrfs-balance.service
/lib/systemd/system/btrfs-balancer.timer
WARNING:
When balancer is running it can slower your device. DON'T reboot your phone during balancing!
NOTES:
* "BTRFS balance checker" app will be uninstalled automatically.
* If you can't install because of this package (lipstick-qt5-tools), open terminal as ROOT and run:
pkcon refresh
When it finish, run:
pkcon install lipstick-qt5-tools
After this try to install my package again.
v0.2-17
- Update for v2.2.1.18 and above.
v0.2-16
* Small changes in the script.
v0.2-15
- Added not removable warning notification with red blinking led when balancer is started (see screenshot). This notification will remove itself when balancer will finish ptocess.
- Small changes in the script.
v0.2-14
* Added warning to description (here) and How to use.
v0.2-13
* Added option to run balancer when needed. See description on openrepos or read How to use inside the app.
v0.2-12
* Changed way to display activation when notification started.
v0.2-11
* Added button for quick manual checking.
v0.2-10
* Added display activation when notification started.
* Small changes in qml.
v0.2-9
* Dependency to v2.0.1.7.
Donation are welcome :)
Attachment | Size | Date |
---|---|---|
btrfschecker2-0.2-8.armv7hl.rpm | 42.24 KB | 15/02/2016 - 00:56 |
btrfschecker2-0.2-9.armv7hl.rpm | 42.31 KB | 15/02/2016 - 16:58 |
btrfschecker2-0.2-10.armv7hl.rpm | 42.87 KB | 14/03/2016 - 14:05 |
btrfschecker2-0.2-11.armv7hl.rpm | 44.14 KB | 23/03/2016 - 06:14 |
btrfschecker2-0.2-12.armv7hl.rpm | 44.05 KB | 30/03/2016 - 20:40 |
btrfschecker2-0.2-13.armv7hl.rpm | 46.83 KB | 22/04/2016 - 21:41 |
btrfschecker2-0.2-14.armv7hl.rpm | 46.93 KB | 23/04/2016 - 02:38 |
btrfschecker2-0.2-15.armv7hl.rpm | 138.34 KB | 10/05/2016 - 10:50 |
btrfschecker2-0.2-16.armv7hl.rpm | 138.2 KB | 30/05/2016 - 22:41 |
btrfschecker2-0.2-17.armv7hl.rpm | 91.89 KB | 11/09/2018 - 19:51 |
- Update for v2.2.1.18 and above.
Comments
Kelmi
Fri, 2019/01/25 - 20:14
Permalink
Would be nice if you can add support for sdcards.
tvicol
Fri, 2016/05/06 - 15:41
Permalink
Can you please disable power off durring balance ?
An warning will be helpfull as well. Someting like: "Btrfs balance in progress, do not power off or reboot your phone !"
Schturman
Fri, 2016/05/06 - 16:15
Permalink
I don't know how to disable power off, if possible at all..
Warning I will add to the next update...
R1v3r
Fri, 2016/04/29 - 08:00
Permalink
Hello Schturman,
Please help me. It does not like to install on my device.
I am trying to update from 0.2-12
It says: Transaction /26520_eabcdaa
Status: internal-error
Extra Details: Installation aborted by the user.
And I confirm, that I did not touch to phone during installation..
Edit: Now it worked!I just needed to uninstall the old version before it could install again.
Thanks!
tvicol
Mon, 2016/03/14 - 17:23
Permalink
Still not able o install this due missing lipstik-qt5-tools-0.27.82-1.65.3
Can you include this in package ?
Schturman
Mon, 2016/03/14 - 17:38
Permalink
I don't understand why your device can't install this package.... Dev. mode and allow untrasted software is activated ?
Try to install as root:
pkcon install lipstick-qt5-tools
Or download it to your device and try to install from file manager:
cd /home/nemo/Downloads && pkcon --only-download install lipstick-qt5-tools
Try...
eson
Mon, 2016/03/14 - 14:23
Permalink
Thanks for this very useful app! Since it's in Settings app, I think it should be localised. I will of course do Swedish if you like.
Schturman
Mon, 2016/03/14 - 16:28
Permalink
No problem, but I don't know how to do this...
coderus
Mon, 2016/02/15 - 18:41
Permalink
On screenshot it says if you have 10.43 used and 13.75 total it lesss than 1.5 GB free, which is wrong :D it's more than 2 GB free.
Schturman
Mon, 2016/02/15 - 19:40
Permalink
Yes, I know. I send only notification, without checking, for screenshot :D
It's old screenshot, now I again have less space... I will update screenshot :)
gsalone
Mon, 2016/02/15 - 16:00
Permalink
Not really working.
I make changes, choose a day, some hour press apply and nothing happens. Status still remains inactive. I have restarted device etc, no changes.Same with Autostart, changes do not seem to be applied.
Also, i have no icon in the settings, just the phrase "BTRFS balance checker".
Schturman
Mon, 2016/02/15 - 16:32
Permalink
It's really weird... For me it working already 3-4 weeks without any problem. Please check if this packages installed on your device: sailfish-utilities, python, dbus-python, lipstick-qt5-tools
P.S. Probably you don't have icon because you have lower version than 2.0.1.7. Jolla changed path to the icons...
Probably I need repackage it with limitation to 2.0.1.7 only....
etam
Mon, 2016/02/15 - 10:59
Permalink
I can't install this. It says it requires lipstick-qt5-tools, which cannot be provided.
I have SailfishOS 2.0.0.10 with developer mode enabled.
Schturman
Mon, 2016/02/15 - 11:11
Permalink
try "pkcon refresh" before installation of my package. Or try to install it manually: pkcon install lipstick-qt5-tools